摘要:#include <iostream> #include <string>using namespace std;int main(){ char a[1002],b[1002],i; while(gets(a)) { if(strcmp(a,"START")==0) memset(b,0,sizeof(b)); else if(strcmp(a,"END")==0)printf("%s/n",b); else if(strcmp(a,"ENDOFINPUT")==0) break; els 阅读全文