摘要: #include int f[10][10][10];bool vis[10][10][10];int dp(int a, int b, int c) { if (vis[a][b][c]) return f[a][b][c]; int& ans = f[a][b][c]; vis[a][b][c] = true; for (int i = 0; i < b; ++i) if (!dp(a, i, c)) return ans = 1; for (int i = 0; i < c; ++i) if (... 阅读全文
posted @ 2013-10-08 19:36 baoff 阅读(206) 评论(0) 推荐(0) 编辑