摘要: http://acm.hdu.edu.cn/showproblem.php?pid=1385 1 #include 2 #include 3 #include 4 #define maxn 1001 5 using namespace std; 6 const int inf=9999999;... 阅读全文
posted @ 2014-04-18 21:37 null1019 阅读(133) 评论(0) 推荐(0) 编辑
摘要: http://codeforces.com/contest/332/problem/A 1 #include 2 #include 3 #include 4 #include 5 #define maxn 3000 6 using namespace std; 7 8 char str[m... 阅读全文
posted @ 2014-04-18 20:31 null1019 阅读(117) 评论(0) 推荐(0) 编辑
摘要: http://codeforces.com/contest/330/problem/C这道题分三种情况。有一行全是E,有一列全是E,还有一种为无解的情况。 1 #include 2 #include 3 #include 4 #define maxn 200 5 using namespace... 阅读全文
posted @ 2014-04-18 19:54 null1019 阅读(95) 评论(0) 推荐(0) 编辑
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=1224 1 #include 2 #include 3 #include 4 #include 5 #define maxn 5600 6 using namespace std; 7 con... 阅读全文
posted @ 2014-04-18 18:55 null1019 阅读(131) 评论(0) 推荐(0) 编辑