From f64e4595d2ef36f067a80e5299c2f3fcb51ba2c7 Mon Sep 17 00:00:00 2001 From: Kirito <1362050620@qq.com> Date: Sat, 11 Jun 2016 19:46:35 +0800 Subject: [PATCH] Create 1760.c --- QUSTOJ/1760.c | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 QUSTOJ/1760.c diff --git a/QUSTOJ/1760.c b/QUSTOJ/1760.c new file mode 100644 index 0000000..18f1024 --- /dev/null +++ b/QUSTOJ/1760.c @@ -0,0 +1,33 @@ +#include +#include +#include + +char pool[1024]; +int vec[1024]; +int cnt=0; + +int main() +{ + gets(pool); + int L=strlen(pool); + int starti=0; + int endi=0; + for(int i=0;i='0'&&pool[i]<='9') + { + endi=++i; + } + if(starti