From af6480d9f5f3db8bc19de8eadc3970736ae06d71 Mon Sep 17 00:00:00 2001 From: KiritoTRw <3021577574@qq.com> Date: Thu, 28 Apr 2016 09:13:17 +0800 Subject: [PATCH 1/3] Create 1235.cpp --- QUSTOJ/1235.cpp | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 QUSTOJ/1235.cpp 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 Date: Thu, 28 Apr 2016 09:17:52 +0800 Subject: [PATCH 2/3] Create 1326.c --- QUSTOJ/1326.c | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 QUSTOJ/1326.c diff --git a/QUSTOJ/1326.c b/QUSTOJ/1326.c new file mode 100644 index 0000000..ccaf8ab --- /dev/null +++ b/QUSTOJ/1326.c @@ -0,0 +1,6 @@ +#include +int main() +{ + printf("**************************\n Very Good!\n**************************\n"); + return 0; +} From 0861409864d86a74c63cf202502574bdfe10fdc1 Mon Sep 17 00:00:00 2001 From: KiritoTRw <3021577574@qq.com> Date: Thu, 28 Apr 2016 09:18:43 +0800 Subject: [PATCH 3/3] Create 1312.cpp --- QUSTOJ/1312.cpp | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 QUSTOJ/1312.cpp diff --git a/QUSTOJ/1312.cpp b/QUSTOJ/1312.cpp new file mode 100644 index 0000000..b1a7ba3 --- /dev/null +++ b/QUSTOJ/1312.cpp @@ -0,0 +1,43 @@ +#include +#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