{"provider_name":"Hatena Blog","categories":[],"type":"rich","published":"2016-10-24 17:42:07","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpotetisensei.hatenablog.com%2Fentry%2F2016%2F10%2F24%2F174207\" title=\"Codeforces Round #127 (Div. 1) - \u751f\u304d\u305f\u3044\" 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/potetisensei/","url":"https://potetisensei.hatenablog.com/entry/2016/10/24/174207","blog_title":"\u751f\u304d\u305f\u3044","author_name":"potetisensei","provider_url":"https://hatena.blog","height":"190","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/p/potetisensei/20161024/20161024171543.png","width":"100%","blog_url":"https://potetisensei.hatenablog.com/","title":"Codeforces Round #127 (Div. 1)","version":"1.0","description":"codeforces.com tourist\u56de\u5acc\u3044(\u76f4\u7403) \u8272\u3005\u3084\u3063\u3066\u3057\u307e\u30441\u5b8c\u3067\u3057\u305f\u3002 A. \u4ee5\u4e0b\u306e\u69d8\u306a\u6761\u4ef6\u3092\u6e80\u305f\u3059\u884c\u5217\u3092\u8003\u3048\u308b\u3002 n*n\u306e\u6b63\u65b9\u884c\u5217\u3067\u3042\u308b \u5168\u3066\u306e\u8981\u7d20\u304c0\u307e\u305f\u306f1 \u884c\u5217\u306f\u4e0a\u4e0b\u5de6\u53f3\u5bfe\u79f0\u3059\u306a\u308f\u3061Ai, j = An - i + 1, j and Ai, j = Ai, n - j + 1\u304c\u6210\u308a\u7acb\u3064 \u4e0a\u4e0b\u5de6\u53f3\u306b\u96a3\u308a\u5408\u3046\u8981\u7d20\u540c\u58eb\u304c\u540c\u6642\u306b1\u3068\u306a\u308b\u3053\u3068\u306f\u306a\u3044 \u305d\u306e\u3088\u3046\u306a\u884c\u5217\u306e\u5185\u30011\u3092x\u500b\u8981\u7d20\u3068\u3057\u3066\u3082\u3064\u3082\u306e\u3092\u69cb\u6210\u3059\u308b\u3053\u3068\u306e\u51fa\u6765\u308b\u6700\u5c0f\u306en\u3092\u6c42\u3081\u3088\u3002 \u306a\u3093\u304b\u672c\u5f53\u306b\u30e4\u30d0\u305d\u3046\u3060\u306a\u3042\u3068\u601d\u3044\u306a\u304c\u3089\u9069\u5f53\u306b\u3084\u3063\u305f\u30896WA\u3050\u3089\u3044\u3057\u3066\u8ae6\u3081\u305f\u3002 \u8a08\u7b97\u91cf\u306f\u554f\u984c\u306b\u306a\u3089\u306a\u3044\u306e\u3067\u3001n=1\u304b\u3089\u9806\u306b\u8a66\u3057\u3066\u3044\u3051\u3070\u826f\u3044\u3002 \u305d\u3057\u2026"}