摘要: http://codeforces.com/contest/320/problem/B这道题看了很长时间没看懂, 就是个dfs; 1 #include 2 #include 3 #define maxn 2000 4 using namespace std; 5 6 int a[maxn],b... 阅读全文
posted @ 2014-04-16 16:30 null1019 阅读(142) 评论(0) 推荐(0) 编辑
摘要: http://codeforces.com/contest/320/problem/A 1 #include 2 #include 3 using namespace std; 4 5 char str[100]; 6 7 int main() 8 { 9 scanf("%s",st... 阅读全文
posted @ 2014-04-16 15:29 null1019 阅读(103) 评论(0) 推荐(0) 编辑