{"version":"1.0","author_name":"simezi_tan","width":"100%","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsimezi-tan.hatenadiary.org%2Fentry%2F20111123%2F1322031381\" title=\"Codeforces 120 J. Minimum Sum - simezi_tan\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>","blog_url":"https://simezi-tan.hatenadiary.org/","title":"Codeforces 120 J. Minimum Sum","type":"rich","description":"\u554f\u984c n\u672c\u306e\u30d9\u30af\u30c8\u30eb\u304c\u4e0e\u3048\u3089\u308c\u308b\u3002 \u305d\u308c\u305e\u308c\u306e\u30d9\u30af\u30c8\u30ebv=(x,y)\u306b\u5bfe\u3057\u3066\u6b21\u306e\u3088\u3046\u306a\u5909\u63db\u3092\u65bd\u3057\u3066\u3088\u3044\u3002 v1=(x,y) v2=(-x,y) v3=(x,-y) v4=(-x,-y) \u3053\u306e\u3068\u304d|v[i]+v[j]|\u304c\u6700\u5c0f\u3068\u306a\u308b\u3088\u3046\u306ai,j\u304a\u3088\u3073\u305d\u306e\u3068\u304d\u306e\u5909\u63db\u3092\u6c42\u3081\u3088\u3002 \u7b54\u3048\u304c\u8907\u6570\u3042\u308b\u3068\u304d\u306f\u3069\u308c\u3092\u51fa\u529b\u3057\u3066\u3082\u304b\u307e\u308f\u306a\u3044\u3002 \u5236\u7d04\u6761\u4ef6 n\u226610^5 \u5ea7\u6a19\u306e\u7d76\u5bfe\u5024\u306f10000\u4ee5\u4e0b","provider_name":"Hatena Blog","blog_title":"simezi_tan\u306e\u65e5\u8a18","provider_url":"https://hatena.blog","categories":["Codeforces","\u5e7e\u4f55"],"published":"2011-11-23 15:56:21","url":"https://simezi-tan.hatenadiary.org/entry/20111123/1322031381","image_url":null,"author_url":"https://blog.hatena.ne.jp/simezi_tan/"}