{"description":"\u554f\u984c codeforces.com \u89e3\u6cd5 \u76f4\u524d\u306e 2 \u8981\u7d20\u304c 0 \u306e\u6642, \u307e\u305f\u305d\u306e\u6642\u306e\u307f\u6570\u5217\u306e\u3059\u3079\u3066\u306e\u5024\u304c 0 \u306b\u306a\u308a\u307e\u3059\u3002\u305d\u308c\u4ee5\u5916\u306e\u5834\u5408\u306f, \u666e\u901a\u306e\u30d5\u30a3\u30dc\u30ca\u30c3\u30c1\u6570\u5217\u3068\u540c\u3058\u3088\u3046\u306b, \u6307\u6570\u30aa\u30fc\u30c0\u30fc\u3067\u767a\u6563\u3057\u307e\u3059\u3002\u8abf\u3079\u3066\u307f\u308b\u3068, \u5927\u4f53 100 \u500b\u7a0b\u5ea6\u3042\u308c\u3070\u7d76\u5bfe\u5024\u304c 10^9 \u3092\u8d85\u3048\u3066\u304d\u305d\u3046\u306a\u306e\u3067, (a[i] == 0 ^ a[j] == 0) \u3092\u6e80\u305f\u3055\u306a\u3044\u3059\u3079\u3066\u306e (i, j) \u306b\u3064\u3044\u3066, \u305d\u308c\u3089\u3092\u521d\u9805\u306b\u3059\u308b\u6570\u5217\u3092\u8abf\u3079\u3066\u3044\u3051\u3070\u826f\u3044\u3067\u3059\u3002\u672c\u756a\u3067\u306f\u305d\u308c\u3092\u8abf\u3079\u308b\u306e\u306b, unordered_map \u3092\u4f7f\u3063\u3066\u3044\u305f\u3093\u3067\u3059\u304c, unordered_map \u306f find \u306b\u6700\u60aa O(n) \u304b\u304b\u308b\u3089\u3057\u3044\u306e\u3067 TLE\u2026","blog_url":"https://mayokoex.hatenablog.com/","author_name":"mayokoex","provider_url":"https://hatena.blog","image_url":null,"provider_name":"Hatena Blog","published":"2016-02-27 20:36:05","url":"https://mayokoex.hatenablog.com/entry/2016/02/27/203605","type":"rich","height":"190","title":"Manthan, Codefest 16 D. Fibonacci-ish","version":"1.0","author_url":"https://blog.hatena.ne.jp/mayokoex/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmayokoex.hatenablog.com%2Fentry%2F2016%2F02%2F27%2F203605\" title=\"Manthan, Codefest 16 D. Fibonacci-ish - mayoko\u2019s diary\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","categories":["CodeForces"],"blog_title":"mayoko\u2019s diary","width":"100%"}