{"blog_title":"\u6570\u5b66/\u7af6\u30d7\u30ed\u30e1\u30e2","published":"2018-10-27 17:34:11","image_url":null,"blog_url":"https://tutuz.hateblo.jp/","url":"https://tutuz.hateblo.jp/entry/2018/10/27/173411","title":"\u3042\u308b\u6761\u4ef6\u4e0b\u306e\u6700\u5927\u306e index \u3092\u4e8c\u5206\u63a2\u7d22\u3067\u53d6\u5f97","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftutuz.hateblo.jp%2Fentry%2F2018%2F10%2F27%2F173411\" title=\"\u3042\u308b\u6761\u4ef6\u4e0b\u306e\u6700\u5927\u306e index \u3092\u4e8c\u5206\u63a2\u7d22\u3067\u53d6\u5f97 - \u6570\u5b66/\u7af6\u30d7\u30ed\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%","author_name":"d_tutuz","version":"1.0","type":"rich","provider_name":"Hatena Blog","categories":[],"height":"190","author_url":"https://blog.hatena.ne.jp/d_tutuz/","description":"\u5b9f\u73fe\u3057\u305f\u3044\u3053\u3068 \u3042\u308b\u6761\u4ef6\u4e0b\u306e\u6700\u5927\u306e index \u3092\u4e8c\u5206\u63a2\u7d22\u3067\u53d6\u5f97 \u3042\u308b\u6570\u4ee5\u4e0b upperBound \u3067\u5b9f\u73fe\u3067\u304d\u308b\u3002 public void solve(int testNumber, InputReader in, PrintWriter out) { int[] a = {18, 37, 75, 80, 80, 93, 107, 144, 163, 196}; int num = 40; int idx = upperBound(a, num); out.printf(\"index = %d (a[%d] = %d)\\n\", idx - 1,idx - 1 , a[idx - 1]); nu\u2026","provider_url":"https://hatena.blog"}