{"blog_title":"WARush","version":"1.0","author_name":"Ekaing","title":"Codeforces #174 Div2 D \"Cow Program\"","provider_url":"https://hatena.blog","url":"https://ekaing.hatenablog.com/entry/2013/03/21/213126","description":"\u554f\u984c http://codeforces.com/contest/284/problem/D \u8a33 \u3042\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u306fx y\u3068\u3044\u3046\uff12\u3064\u306e\u5909\u6570\u304c\u3042\u308a\u3001 \u6b63\u306e\u6574\u6570\u306e\u914d\u5217a(1), a(2), a(3).... a(N)\u306b\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u64cd\u4f5c\u3092\u884c\u3046\u3002 1. \u521d\u671f\u5024\u306fx=1, y=0\u3067\u3042\u308a\u3001\u5404\u30b9\u30c6\u30c3\u30d7\u5f8c\u306bx N\u3068\u306a\u3063\u305f\u3089 \u5373\u5ea7\u306b\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u4e2d\u6b62\u3059\u308b\u3002 2. a(x)\u306e\u5024\u3092x\u3068y\u306b\u8db3\u3059\u3002 3. a(x)\u306e\u5024\u3092y\u306b\u8db3\u3057\u3001x\u304b\u3089\u306f\u5f15\u304f\u3002 4. \u3053\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u306f\u3001\u4e2d\u6b62\u306b\u306a\u308b\u307e\u3067\u64cd\u4f5c2. 3.\u3092\u4ea4\u4e92\u306b\u5b9f\u884c\u3059\u308b\u3002\uff08\u6700\u521d\u306f2. \u6b21\u306f3.\uff09 \u306a\u306e\u30672. 3. 2. 3. ... \u3068\u7e70\u308a\u8fd4\u3057\u5b9f\u884c\u3057\u3066\u3044\u304f\u3002 \u914d\u5217\u306fa(1)\u3092\u9664\u2026","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fekaing.hatenablog.com%2Fentry%2F2013%2F03%2F21%2F213126\" title=\"Codeforces #174 Div2 D &quot;Cow Program&quot; - WARush\" 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://ekaing.hatenablog.com/","author_url":"https://blog.hatena.ne.jp/Ekaing/","width":"100%","image_url":null,"published":"2013-03-21 21:31:26","provider_name":"Hatena Blog","categories":[],"type":"rich"}