From b8b1673c8047400221077154351286a2df1a4149 Mon Sep 17 00:00:00 2001 From: Kirito <1362050620@qq.com> Date: Sat, 11 Jun 2016 20:19:03 +0800 Subject: [PATCH] Create 1407.c --- QUSTOJ/1407.c | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 QUSTOJ/1407.c diff --git a/QUSTOJ/1407.c b/QUSTOJ/1407.c new file mode 100644 index 0000000..fb6eacd --- /dev/null +++ b/QUSTOJ/1407.c @@ -0,0 +1,29 @@ +#include +int main() +{ + long inc; + if(scanf("%d",&inc)!=1) + { + return -1; + } + else + { + long i,cur; + for(cur=2;cur<=inc;cur++) + { + for(i=2;i