{"height":"190","width":"100%","image_url":null,"url":"https://yoshichi9.hatenablog.com/entry/2019/04/30/041756","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyoshichi9.hatenablog.com%2Fentry%2F2019%2F04%2F30%2F041756\" title=\"   Codeforces Round #556 (Div. 2) - B. Tiling Challenge - Yoshichi\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>","title":"   Codeforces Round #556 (Div. 2) - B. Tiling Challenge","blog_title":"Yoshichi\u306e\u65e5\u8a18","published":"2019-04-30 04:17:56","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","blog_url":"https://yoshichi9.hatenablog.com/","categories":["Codeforces","\u7af6\u6280\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0"],"type":"rich","version":"1.0","description":"\u554f\u984c\u6982\u8981 Problem - B - Codeforces5\u3064\u306e\u6b63\u65b9\u5f62\u304b\u3089\u306a\u308b\u5341\u5b57\u578b\u3092 n * n\u304b\u3089\u306a\u308b\u56db\u89d2\u5f62\u5185\u306e\u7a7a\u3044\u3066\u3044\u308b\u7b87\u6240\u306b\u5f53\u3066\u306f\u3081\u305f\u3068\u304d \u56db\u89d2\u5f62\u306e\u7a7a\u304d\u304c\u5168\u3066\u57cb\u307e\u308b\u3068\u304d\u3001YES\u3001\u57cb\u307e\u3089\u306a\u3044\u3068\u304d\u306fNO\u3092\u51fa\u529b\u305b\u3088\u3002 \u89e3\u6cd5 \u4e0a\u306e\u6bb5\u304b\u3089\u3001\u4e0b\u306b\u5411\u304b\u3063\u3066\u5341\u5b57\u578b\u304c\u57cb\u307e\u308b\u304b\u8caa\u6b32\u306b\u898b\u308c\u3070\u3088\u3044\u3002 \u5341\u5b57\u578b\u3067\u3042\u308b\u4ee5\u4e0a\u3001\u6700\u4e0a\u4f4d\u6bb5\u3001\u6700\u4e0b\u4f4d\u6bb5\u3067\u5de6\u53f3\u9023\u7d9a\u3057\u3066 \u7a7a\u304d\u304c\u3042\u308b\u969b\u306b\u306f\u3001\u5fc5\u305a\u7a7a\u304d\u304c\u3067\u304d\u308b\u306e\u3067NO\u3092\u51fa\u529b\u3059\u308b\u3053\u3068\u306b\u306a\u308b\u3002\u307e\u305f\u3001\u4e00\u3064\u306e\u5341\u5b57\u578b\u3092\u57cb\u3081\u308b\u30685\u500b\u306e\u7a7a\u304d\u304c\u57cb\u307e\u308b\u305f\u3081 5\u306e\u500d\u6570\u3067\u306f\u306a\u3044\u3068\u304d\u306f\u3001\u7a7a\u304d\u304c\u3067\u308b\u304b\u3001\u5341\u5b57\u578b\u3092\u57cb\u3081\u308b\u3053\u3068\u306f\u3067\u304d\u306a\u3044\u3002 \u63d0\u51fa\u30b3\u30fc\u30c9 n = int(input()) e = [] empty = \u2026","author_name":"Yoshichi","author_url":"https://blog.hatena.ne.jp/Yoshichi/"}