07 2014 档案

摘要:1 #include 2 #include 3 #include 4 #define N 100005 5 char s1[2*N],s2[N]; 6 int next[N],l1,l2; 7 8 void get_next(char *str,int len) 9 {10 int i=... 阅读全文
posted @ 2014-07-29 22:03 ✎.....len冷 阅读(211) 评论(0) 推荐(0)
摘要:1 #include 2 #include 3 #include 4 5 typedef struct tire 6 { 7 struct tire *next[26];//由于是小写字母,所以26,数字10,大小写字母52 8 int v; 9 }Tire;10 11 Tire... 阅读全文
posted @ 2014-07-28 22:12 ✎.....len冷 阅读(257) 评论(0) 推荐(0)
摘要:1:当输入的数字是用double定义时,输入的格式声明为%lf 当输入的数字是用float定义时,输入的格式声明为%f2strchr(string,search)函数搜索一个字符串在另一个字符串中第一次出现。 找到则返回search字符串出现的位置,否则返回false. 阅读全文
posted @ 2014-07-28 20:32 ✎.....len冷
摘要:void ttor(int n, int r){ if (n) { ttor(n / r, r); printf("%c",n%r>9 ? n%r-10+'A' : n%r+'0'); }} 阅读全文
posted @ 2014-07-24 15:35 ✎.....len冷 阅读(73) 评论(0) 推荐(0)