{"width":"100%","description":"\u554f\u984c TopCoder Statistics - Problem Statement \u89e3\u6cd5 \u307e\u305a\u3001K = 1\u306a\u3089\u3070\u5fc5\u305a\"Paint\"\u3068\u306a\u308b\u3002K >= 2\u3067\u3042\u308c\u3070\u3001R\u3001C\u3001\u3069\u3061\u3089\u304b\u304c\u5076\u6570\u3067\u3042\u308c\u3070\"Paint\"\u3068\u306a\u308a\u3001\u3069\u3061\u3089\u3082\u5947\u6570\u3067\u3042\u308c\u3070\"Cannot paint\"\u3068\u306a\u308b\u3002 \u306a\u305c\u3069\u3061\u3089\u3082\u5947\u6570\u3067\u3042\u308c\u3070\"Cannot paint\"\u3067\u3042\u308b\u304b\u3068\u3044\u3046\u3068\u3001\u307e\u305aR = C = 1\u3067\u3042\u308c\u3070Sample\u306e\u901a\u308a\u81ea\u660e\u3067\u3042\u308b\u3002 R >= 3 \u307e\u305f\u306f C >= 3\u306e\u5834\u5408\u306b\u3064\u3044\u3066\u8a3c\u660e\u3057\u3066\u307f\u308b\u3002\u6559\u5ba4\u306e\u30de\u30b9\u76ee\u304c\u767d\u9ed2\u3067\u5e02\u677e\u6a21\u69d8\u3060\u3063\u305f\u3068\u3059\u308b\u3002\u767d\u30de\u30b9\u306e\u6570\u304cW\u3001\u9ed2\u30de\u30b9\u306e\u6570\u304cB\u3068\u3059\u308b\u3002\u3061\u3087\u3046\u3069K\u56de\u305a\u3064\u5857\u3089\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u3068\u306a\u308b\u3068\u3001\u767d\u30de\u30b9\u306e\u6570\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fekaing.hatenablog.com%2Fentry%2F2016%2F10%2F22%2F200921\" title=\"SRM668 Div1 Easy &quot;PaintTheRoom&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>","version":"1.0","height":"190","provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/Ekaing/","provider_url":"https://hatena.blog","author_name":"Ekaing","categories":[],"url":"https://ekaing.hatenablog.com/entry/2016/10/22/200921","title":"SRM668 Div1 Easy \"PaintTheRoom\"","type":"rich","blog_title":"WARush","image_url":null,"blog_url":"https://ekaing.hatenablog.com/","published":"2016-10-22 20:09:21"}