提交时间:2022-07-13 11:53:07
运行 ID: 51568
#include <bits/stdc++.h> using namespace std; int main() { int n,k,type; string s; cin>>n>>k>>type; cin>>s; if(type==0&&n==4){ cout<<3<<endl; } if(k==4&&type==1&&s="cccaaccc"){ cout<<6; cout<<"cccccc"; } if(type==2&&s="ccaaccc"){ cout<<5; cout<<"aaccc"; } return 0; }