#include<stdio.h>#include<stdlib.h>typedef struct node{ int w; int p;}sss;sss x[10001];int comp(const void *a,const void *b){ sss *x =(sss *)a; sss *y =(sss *)b; if(x->w == y->w) return y->p - x->p; else return x->w - y->w;}
新聞熱點
疑難解答