From ada7deae0dfcb441f63f7655f45240baa6149b75 Mon Sep 17 00:00:00 2001 From: KiritoTRw <3021577574@qq.com> Date: Thu, 28 Apr 2016 08:02:23 +0800 Subject: [PATCH] Create 1716.c --- QUSTOJ/1716.c | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 QUSTOJ/1716.c diff --git a/QUSTOJ/1716.c b/QUSTOJ/1716.c new file mode 100644 index 0000000..2c125fd --- /dev/null +++ b/QUSTOJ/1716.c @@ -0,0 +1,41 @@ +#include +#include +#include + +int cmp(const void* a,const void* b) +{ + return *((int*)b)-*((int*)a); +} + +int p[1024]; + +int main() +{ + int n,target; + scanf("%d%d",&target,&n); + for(int i=0;i