Codeforces 1189A Keanu Reeves

題目鏈接:http://codeforces.com/problemset/problem/1189/A 思路:統計1 和 0 的個數,不相等拆開字符串,否則不拆。 AC代碼: 1 #include<bits/stdc++.h> 2 using namespace std; 3 int main() 4 { 5 int n; 6 string a; 7 whi
相關文章
相關標籤/搜索