摘要: 1、warning: no newline at end of file在文件最后一行加上回车键解释:在《Rationale for the C99 standard》一文中,有C99的相关信息:A backslash immediately before a newline has long been used to continue string literals, as well as preprocessing command lines. In the interest of easing machine generation of C, and of transporting co 阅读全文
posted @ 2013-02-18 12:10 闭关修炼的小孩纸 阅读(677) 评论(0) 推荐(0) 编辑
摘要: 1 #include<stdio.h> 2 #include<stdlib.h> 3 int a[100010]; 4 int cmp(const void *a,const void *b) 5 { 6 return *((int*)a)>*((int*)b)?1:-1; 7 } 8 void choose_num(int a[],int pp)//先排序 后查找..... 9 {10 int i,j,count=1;11 for(i=0;i<pp-1;i++)12 {13 if(a[i+1]==a[i])14 cou... 阅读全文
posted @ 2013-02-18 12:09 闭关修炼的小孩纸 阅读(166) 评论(0) 推荐(0) 编辑