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