{"url":"https://perogram.hateblo.jp/entry/2021/08/24/131215","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fperogram.hateblo.jp%2Fentry%2F2021%2F08%2F24%2F131215\" title=\"D-ABS SUM\uff08\u6280\u8853\u5ba4\u5965\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b3\u30f3\u30c6\u30b9\u30c8#6 Day1\uff09 - perogram\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2021-08-24 13:12:15","description":"Quiz https://atcoder.jp/contests/tkppc6-1/tasks/tkppc6_1_d AC https://atcoder.jp/contests/tkppc6-1/submissions/25307869 \u89e3\u8aac \u533a\u9593\u3092\u7d2f\u7a4d\u548c\u3067\u66f8\u304d\u76f4\u3059 \u7d2f\u7a4d\u548c\u3092\u5404\u9805Bi\u3068\u3057\u305f\u914d\u5217B\u3092\u30bd\u30fc\u30c8\u3057\u3066\u3001i, j (i<j) \u306e\u5168\u7d44\u307f\u5408\u308f\u305b\u306b\u3064\u3044\u3066Bj - Bi\u306e\u548c\u3092\u53d6\u308c\u3070\u7b54\u3048 \u4ee5\u4e0b\u306e\u753b\u50cf\u306fN=4\u306e\u5834\u5408 int main(){ cin.tie(0); ios::sync_with_stdio(false); // input ll N; cin>>N; VI A(N); rep(i, N\u2026","title":"D-ABS SUM\uff08\u6280\u8853\u5ba4\u5965\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b3\u30f3\u30c6\u30b9\u30c8#6 Day1\uff09","type":"rich","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/p/peroon/20210824/20210824131206.png","version":"1.0","blog_title":"perogram","height":"190","categories":[],"blog_url":"https://perogram.hateblo.jp/","author_name":"peroon","width":"100%","author_url":"https://blog.hatena.ne.jp/peroon/"}