我帮你加了3句,AC了。#includeusing namespace std;void main(){ static int pe[5000]; int n,m,i,count,coun,flag; cin>>n; while(n--) {cin>>m;if(m==1) cout<<'1'<<endl;
else if(m==2) cout<<"1 2"<<endl;
else if(m==3) cout<<"1 2 3"<<endl;
else{memset(pe,1,sizeof(pe));while(1){ co... |