{"title":"Find Amir | Codeforces #411","published":"2017-05-05 11:05:16","height":"190","provider_url":"https://hatena.blog","description":"2\u756a\u76ee\u306e\u5165\u529b\u4f8bn=10\u3092\u8003\u3048\u3066\u307f\u3088\u3046\u3002 \u3068\u308a\u3042\u3048\u305a\u3001(i+j) mod (n+1) = 0 \u3068\u306a\u308b\u3088\u3046\u306a\u8fba(i, j)\u306f\u30b3\u30b9\u30c80\u306a\u306e\u3067\u5168\u90e8\u5f35\u308d\u3046\u3002 1-10 2-9 3-8 4-7 5-6 \u3042\u3068\u306f\u30b3\u30b9\u30c81\u4ee5\u4e0a\u306e\u8fba\u3092\u8cbc\u308b\u3057\u304b\u306a\u3044\u3002 \u5b9f\u306f\u3059\u3079\u3066\u30b3\u30b9\u30c81\u306e\u8fba\u3067\u7e4b\u3052\u3089\u308c\u308b\u3002 10+2\u22611 9+3\u22611 8+4\u22611 7+5\u22611 \u3088\u3063\u3066\u30b3\u30b9\u30c8\u306f4\u3002 \u5947\u6570\u306e\u5834\u5408\u3082\u540c\u69d8\u306b\u8003\u3048\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3002\u3057\u305f\u304c\u3063\u3066\u89e3\u306f floor((n-1)/2) \u30af\u30e9\u30b9\u30ab\u30eb\u6cd5\u3063\u307d\u304f\u3084\u308b","author_name":"parukii","type":"rich","image_url":null,"provider_name":"Hatena Blog","width":"100%","version":"1.0","categories":[],"blog_url":"https://par.hateblo.jp/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpar.hateblo.jp%2Fentry%2F2017%2F05%2F05%2F110516\" title=\"Find Amir | Codeforces #411 - paruki\u306e\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://par.hateblo.jp/entry/2017/05/05/110516","author_url":"https://blog.hatena.ne.jp/parukii/","blog_title":"paruki\u306e\u30d6\u30ed\u30b0"}