摘要: 题目:http://poj.org/problem?id=3414很好玩的一个题。关键是又16ms 1A了,没有debug的日子才是好日子。。 1 #include 2 #include 3 #include 4 #include 5 #include 6 using name... 阅读全文
posted @ 2013-08-19 16:20 Anti-Magic 阅读(219) 评论(0) 推荐(0) 编辑
摘要: 题目:http://poj.org/problem?id=3126困得不行了,没想到敲完一遍直接就A了,16ms,debug环节都没进行。人品啊。 1 #include 2 #include 3 #include 4 using namespace std; 5 6 bool prime[1... 阅读全文
posted @ 2013-08-19 15:06 Anti-Magic 阅读(174) 评论(0) 推荐(0) 编辑
摘要: 题目:http://poj.org/problem?id=2251 1 #include 2 #include 3 #include 4 using namespace std; 5 6 char maze[60][60][60]; 7 bool vis[60][60][60]; 8 int... 阅读全文
posted @ 2013-08-19 11:23 Anti-Magic 阅读(267) 评论(0) 推荐(0) 编辑
摘要: 题目:http://poj.org/problem?id=3009很简单的一个题,调试了好久。。 1 #include 2 #include 3 4 int n, m, maze[30][30], ans; 5 int start_x, start_y, end_x, end_y; 6 int... 阅读全文
posted @ 2013-08-19 10:20 Anti-Magic 阅读(169) 评论(0) 推荐(0) 编辑