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