#includeusing namespace std;char in[12000];int main(){ int t; cin>>t; while(t--) { cin>>in; char last = in[0]; int cnt = 1; for (int i = 1;in[i];i++) { if (last != in[i]) { if (cnt != 1) ...
#includeusing namespace std;char in[12000];int main(){ int t; cin>>t; while(t--) { cin>>in; char last = in[0]; int cnt = 1; for (int i = 1;in[i];i++) { if (last != in[i]) { if (cnt != 1) ...