From 62cd7d10684a597e836dcfc8c51936e2de2b3466 Mon Sep 17 00:00:00 2001 From: QuestionableE <446063670@qq.com> Date: Wed, 27 Apr 2016 22:38:28 +0800 Subject: [PATCH] Create 1501_nitouryuu.cpp --- QUSTOJ/1501_nitouryuu.cpp | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 QUSTOJ/1501_nitouryuu.cpp diff --git a/QUSTOJ/1501_nitouryuu.cpp b/QUSTOJ/1501_nitouryuu.cpp new file mode 100644 index 0000000..9ccbb9c --- /dev/null +++ b/QUSTOJ/1501_nitouryuu.cpp @@ -0,0 +1,32 @@ +#include +#include + +int main(void) +{ + char a[101],b='9'; + while(gets(a)) + { + for(int c=0;cb) + b=a[c]; + } + for(int c=0;c