{"blog_title":"mayoko\u2019s diary","height":"190","provider_name":"Hatena Blog","title":"Educational Codeforces Round 1 E. Chocolate Bar","image_url":null,"width":"100%","description":"\u554f\u984c codeforces.com \u89e3\u6cd5 \u843d\u3061\u7740\u3044\u3066 dp \u3059\u308c\u3070\u826f\u3044\u3067\u3059\u3002dp[n][m][k] = (n*m \u306e\u9577\u65b9\u5f62\u3067, \u3074\u3063\u305f\u308a k \u500b\u306e square \u3092\u4f5c\u308b\u306b\u306f\u6700\u4f4e\u3044\u304f\u3064\u306e\u30b3\u30b9\u30c8\u304c\u5fc5\u8981\u304b\uff1f) \u3092\u8003\u3048\u307e\u3059\u3002\u5206\u5272\u306e\u4ed5\u65b9\u306f \u7e26\u306b\u5207\u308b\u304b\u6a2a\u306b\u5207\u308b\u304b\u3057\u304b\u306a\u304f, 2 \u3064\u306b\u5206\u5272\u3057\u305f\u9577\u65b9\u5f62\u306b\u5bfe\u3057\u3066, \u4e00\u65b9\u3067 kk \u500b\u306e square \u3092\u62c5\u5f53\u3057\u305f\u3068\u3059\u308b\u3068, \u3082\u3046\u4e00\u65b9\u306f k-kk \u500b\u306e square \u3092\u62c5\u5f53\u3059\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002\u3053\u308c\u3089\u3092\u3057\u3063\u304b\u308a\u5834\u5408\u5206\u3051\u3057\u3066, \u30b3\u30b9\u30c8\u304c\u4e00\u756a\u5c0f\u3055\u3044\u3082\u306e\u3092\u6c42\u3081\u308c\u3070\u826f\u3044\u3067\u3059\u3002 int dp[33][33][55]; int dfs(int n, int m, int k) { i\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmayokoex.hatenablog.com%2Fentry%2F2016%2F02%2F09%2F231102\" title=\"Educational Codeforces Round 1 E. Chocolate Bar - 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>","author_url":"https://blog.hatena.ne.jp/mayokoex/","version":"1.0","published":"2016-02-09 23:11:02","author_name":"mayokoex","provider_url":"https://hatena.blog","type":"rich","url":"https://mayokoex.hatenablog.com/entry/2016/02/09/231102","categories":["CodeForces"],"blog_url":"https://mayokoex.hatenablog.com/"}