摘要: 这一题其实不难,要注意输出和 ‘-’ 的次数以及排序,未用qsort的时候一直超时,晕死了!!! 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <string.h> 4 5 struct infor{ 6 char name[11]; 7 int count,time; 8 }people[1000]; 9 10 int m;11 12 int cmp( const void *a,const void *b ){13 struct infor *c =( struct infor * )a;14 阅读全文
posted @ 2013-03-01 19:28 hacker_hzh 阅读(180) 评论(0) 推荐(0)