摘要: A 模拟 找到两个相邻的O变成X。 1 #include <bits/stdc++.h> 2 using namespace std; 3 4 char s[1005][10]; 5 int main () { 6 bool ok = false; 7 int n; scanf("%d", &n); 阅读全文
posted @ 2016-08-30 14:08 youqiong 阅读(127) 评论(0) 推荐(0)
摘要: A 按题意模拟即可。 1 #include <bits/stdc++.h> 2 using namespace std; 3 4 int main () { 5 int n, b, d; scanf("%d%d%d", &n, &b, &d); 6 int now = 0, cnt = 0; 7 f 阅读全文
posted @ 2016-08-25 14:41 youqiong 阅读(139) 评论(0) 推荐(0)