{"blog_url":"https://lan496.hatenadiary.jp/","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Flan496.hatenadiary.jp%2Fentry%2F2015%2F04%2F18%2F235406\" title=\"ARC 37 C\u554f\u984c\u3000\u5104\u30de\u30b9\u8a08\u7b97 - lan496\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_url":"https://blog.hatena.ne.jp/lan496/","published":"2015-04-18 23:54:06","type":"rich","height":"190","provider_url":"https://hatena.blog","image_url":null,"url":"https://lan496.hatenadiary.jp/entry/2015/04/18/235406","author_name":"lan496","blog_title":"lan496\u306e\u65e5\u8a18","categories":["Atcoder"],"version":"1.0","provider_name":"Hatena Blog","description":"\u5236\u7d04\u304b\u3089\u3057\u3066\u4e8c\u5206\u63a2\u7d22\u306a\u3093\u3060\u308d\u3046\u3068\u306f\u601d\u3063\u305f\u304c\u672c\u756a\u3067\u306f\u89e3\u3051\u306a\u304b\u3063\u305f\u3002 a,b\u3092\u6700\u521d\u306b\u30bd\u30fc\u30c8\u3057\u3066\u304a\u304d\u3001\u4ed8\u5024\u95a2\u6570C(x)\u3068\u3057\u3066\u6b21\u306e\u3082\u306e\u3092\u8003\u3048\u308b\u3002C(x): a[i]*b[j]a[i]*b[pos]x \u306e\u3068\u304d\u3001a[i]x \u306a\u308bpos'\u306b\u3064\u3044\u3066 pos>pos' \u304c\u6210\u308a\u7acb\u3064\u3002\u5f93\u3063\u3066C(x)\u306fO(N)\u3067\u8a08\u7b97\u3067\u304d\u308b\u3002 #include <bits/stdc++.h> using namespace std; #define REP(i,n) for(int i=0;i<(int)(n);i++) typedef long long ll; bool C(vector<ll> &a,vector<ll> &b,\u2026","title":"ARC 37 C\u554f\u984c\u3000\u5104\u30de\u30b9\u8a08\u7b97"}