HDU 2107 Founding of HDU #include#include int cmp(const void *a,const void *b){ return *(int *)a - *(int *)b; } int main(){ int i,n,a[100]; while(scanf("%d",&n)!=EOF && n) { for(i=0;i scanf("%d" hdu 2023-09-24 43 点赞 0 评论 65 浏览