NYOJ 238 小明的调查统计
摘要:
1 #include<stdio.h> 2 #include<stdlib.h> 3 int cmp(const void *a,const void *b) 4 { 5 return *(int *)a-*(int *)b; //升序 6 } 7 int main() 8 { 9 int t,n,i;10 int a[110];11 scanf("%d",&t);12 while(t--)13 {14 scanf("%d",&n);15 for(i=0;i<n;i++)16 scanf("%d.. 阅读全文
posted @ 2012-08-07 20:39 mycapple 阅读(175) 评论(0) 推荐(0)
浙公网安备 33010602011771号