{"width":"100%","categories":["\u7af6\u6280\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0"],"published":"2021-08-01 01:19:57","url":"https://blog.hamayanhamayan.com/entry/2021/08/01/011957","blog_url":"https://blog.hamayanhamayan.com/","title":"Min Difference [AtCoder Beginner Contest 212 C]","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.hamayanhamayan.com%2Fentry%2F2021%2F08%2F01%2F011957\" title=\"Min Difference [AtCoder Beginner Contest 212 C] - \u306f\u307e\u3084\u3093\u306f\u307e\u3084\u3093\u306f\u307e\u3084\u3093\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"\u306f\u307e\u3084\u3093\u306f\u307e\u3084\u3093\u306f\u307e\u3084\u3093","description":"https://atcoder.jp/contests/abc212/tasks/abc212_c \u524d\u63d0\u77e5\u8b58 \u4e8c\u5206\u63a2\u7d22, lower_bound \u89e3\u8aac https://atcoder.jp/contests/abc212/submissions/24696602 \u60f3\u5b9a\u89e3\u6cd5\u3068\u306f\u7570\u306a\u308b\u89e3\u6cd5\u3067\u3059\u304c\u3001\u9054\u6210\u3057\u305f\u3044\u76ee\u6a19\u306f\u540c\u3058\u3067\u3001\u3088\u308a\u9ad8\u901f\u5316\u3057\u305f\u89e3\u6cd5\u304c\u60f3\u5b9a\u89e3\u6cd5\u3068\u306a\u308a\u307e\u3059\u3002 \u4e8c\u5206\u63a2\u7d22\u3001\u305d\u308c\u304blower_bound\u306b\u3064\u3044\u3066\u7406\u89e3\u3067\u304d\u3066\u3044\u308b\u3053\u3068\u3092\u524d\u63d0\u3068\u3057\u3066\u66f8\u304d\u307e\u3059\u3002 \u307e\u305a\u306f\u5168\u63a2\u7d22\u3092\u8003\u3048\u3066\u307f\u308b \u611a\u76f4\u306b\u89e3\u3044\u3066\u3044\u304f\u3053\u3068\u3092\u8003\u3048\u308b\u3068\u3001i\u3068j\u3092\u5168\u63a2\u7d22\u3057\u3066\u3001abs(A[i] - B[j])\u306e\u6700\u5c0f\u5024\u3092\u53d6\u308c\u3070\u7b54\u3048\u306b\u306a\u308b\u3002 \u3053\u3046\u3059\u308b\u3068\u3001\u2026","author_url":"https://blog.hatena.ne.jp/hamayanhamayan/","version":"1.0","height":"190","author_name":"hamayanhamayan","type":"rich"}