Codeforces Round #744 (Div. 3)题解
A - Casimir’s String Solitaire#include<bits/stdc++.h>using namespace std;string s;int n;int main(){ scanf("%d",&n); for(int i=1;i<=n;i++){ int a=0,b=0,c=0;cin>>s; for(int j=0;j<s.size();j+