摘要: 贪心Time Limit:1000MSMemory Limit:65536KB64bit IO Format:%I64d & %I64uDescription杂货店出售一种由N(3 2 #include 3 #include 4 #include 5 using namespace std; ... 阅读全文
posted @ 2015-07-14 21:29 Gladitor 阅读(248) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 #include 4 using namespace std; 5 6 int a1[4001],a2[4001]; 7 int b1[4001],b2[4001]; 8 int sum1[4001*4000],sum2[4001*4000]... 阅读全文
posted @ 2015-07-14 18:18 Gladitor 阅读(154) 评论(0) 推荐(0) 编辑
摘要: Poj3984 迷宫问题 1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 int maze[5][5]; 7 int dir[4][2] = {{-1,0},{0,1},{1,0},{0,-1}}; 8... 阅读全文
posted @ 2015-07-14 17:24 Gladitor 阅读(2166) 评论(0) 推荐(0) 编辑