{"width":"100%","author_url":"https://blog.hatena.ne.jp/peroon/","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fperogram.hateblo.jp%2Fentry%2F2018%2F12%2F25%2F045818\" title=\"\u7d76\u5bfe\u306bint\u3092\u8d8a\u3048\u306a\u3044\u3068\u3044\u3046\u78ba\u4fe1\u304c\u306a\u3044\u5909\u6570\u306flong long\u306b\u3057\u3088\u3046 (arc092_b) - perogram\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"\u554f\u984c https://atcoder.jp/contests/abc091/tasks/arc092_b \u63d0\u51fa https://atcoder.jp/contests/abc091/submissions/3868349 \u516c\u5f0f\u89e3\u8aac\u653e\u9001\u3092\u898b\u3066 bit\u3054\u3068\u306b\u6c42\u3081\u3066\u9593\u306b\u5408\u3046\uff0830bit\u3068\u3057\u3066\u3082NlogN x 30\u306fTLE\u3057\u306a\u3044\uff09 \u5468\u671f\u304c\u898b\u3048\u308b mod\u3092\u3068\u3063\u3066\u3088\u3044 sort\u3057\u3066\u304a\u3044\u3066\u4e8c\u5206\u63a2\u7d22\u3059\u308b \uff08\u8981\u7d20\u591a\u3044\u306a\u30fb\u30fb\u30fb\uff09 \u632f\u308a\u8fd4\u308a \u96e3\u3057\u3044\u3002\u89e3\u8aac\u3092\u8aad\u3093\u3067\u7406\u89e3\u3057\u3066\u5b9f\u88c5 lower_bound\u3068\u4ef2\u826f\u304f\u306a\u308c\u305f int count = 0; \u3068\u3057\u3066\u3044\u305f\u305f\u3081\u3001\u5927\u304d\u3044\u30c6\u30b9\u30c8\u30b1\u30fc\u30b9\u3067\u901a\u3089\u305a\u3002ll count = 0; \u3068\u2026","author_name":"peroon","published":"2018-12-25 04:58:18","blog_title":"perogram","type":"rich","blog_url":"https://perogram.hateblo.jp/","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/p/peroon/20201030/20201030012334.png","title":"\u7d76\u5bfe\u306bint\u3092\u8d8a\u3048\u306a\u3044\u3068\u3044\u3046\u78ba\u4fe1\u304c\u306a\u3044\u5909\u6570\u306flong long\u306b\u3057\u3088\u3046 (arc092_b)","version":"1.0","provider_url":"https://hatena.blog","url":"https://perogram.hateblo.jp/entry/2018/12/25/045818","provider_name":"Hatena Blog","categories":["500","atcoder"]}