摘要: 1 #include<stdio.h> 2 #include<stdlib.h> 3 #include<string.h> 4 #define MAX 100010 5 typedef struct{ 6 char s[10]; 7 int num; 8 }Number; 9 Number phone[MAX];10 int cmp(const void *p1,const void *p2)11 {12 return strcmp((*(Number*)p1).s,(*(Number*)p2).s);13 }14 int main()15 {16 int 阅读全文
posted @ 2012-10-10 19:07 尔滨之夏 阅读(284) 评论(0) 推荐(0)