diff --git a/QUSTOJ/1235.cpp b/QUSTOJ/1235.cpp new file mode 100644 index 0000000..0ffc2a8 --- /dev/null +++ b/QUSTOJ/1235.cpp @@ -0,0 +1,34 @@ +#include +#include +#include +using namespace std; +int data[1005]; +char cmdline[10240]; +char buff[32]; +int main() +{ + int inc,times,count; + while(scanf("%d",×)==1) + { + memset(data,0,sizeof(int)*1005); + memset(cmdline,0,10240); + count=0; + for(int i=0;i +#include +#include +using namespace std; +char buff[1024]; +int main() +{ + int times; + scanf("%d%*c",×); + for(;times>0;times--) + { + memset(buff,0,1024); + gets(buff); + int len=strlen(buff); + for(int i=0;i +int main() +{ + printf("**************************\n Very Good!\n**************************\n"); + return 0; +}