hdu 2107 Founding of HDU
#include#includeint cmp(const void *a,const void *b){ return *(int*)a-*(int*)b;}int main(){ int num[200]; int n; int i; while(scanf("%d",&n)!=EOF) { if(n==0) break; for(i=0;i<n;i