摘要: 不管行列 总是先切割切割费用大的 代码比较烂 ......#include #include #include #include using namespace std;bool cmp(int a, int b){ return a > b;}int a[1010],b[1010];int... 阅读全文
posted @ 2013-07-30 19:40 xlc2845 阅读(132) 评论(0) 推荐(0)
摘要: dp 将石块按三个面存入队列 按底面积排序 dp就最大高度 按嵌套矩形最长路做做法#include #include #include #include using namespace std;struct tone{ int x,y,z; void t(int a, int b, in... 阅读全文
posted @ 2013-07-30 16:47 xlc2845 阅读(122) 评论(0) 推荐(0)
摘要: dp 1表示先手赢 #include #include #include #include using namespace std;int num[20];int f[1000007];int main(){ int n; while(scanf("%d",&n) == 1) {... 阅读全文
posted @ 2013-07-30 15:28 xlc2845 阅读(97) 评论(0) 推荐(0)