摘要: 1 #include 2 #include 3 #include 4 using namespace std; 5 6 const int maxn = 105; 7 char s[maxn]; 8 int cnt0, cnt1, cnt2, cnt3; 9 10 int main() 11 { 12 while (scanf("%s", s + 1) != EOF... 阅读全文
posted @ 2017-10-20 21:35 ouyang_wsgwz 阅读(198) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 using namespace std; 4 int k, cnt; 5 char G[2][6][5], ans[6]; 6 bool dfs(int col){ 7 if (col == 5){ 8 if (++cnt == k){ 9 ans[col] = '\0'; 10 ... 阅读全文
posted @ 2017-10-20 21:04 ouyang_wsgwz 阅读(751) 评论(0) 推荐(0) 编辑