zrq495
www.zrq495.com
摘要: 挺简单的,直接上代码。 1 #include<stdio.h> 2 #include<string.h> 3 4 char str[100][100]; 5 6 int comp(int x, int y) 7 { 8 int n, m, i; 9 n=strlen(str[x]);10 m=strlen(str[y]);11 if (n>m)12 n=m;13 for (i=0; i<n; i++)14 {15 if (str[x][i] != str[y][i])16 return 1;17... 阅读全文
posted @ 2012-06-02 23:08 zrq495 阅读(171) 评论(0) 推荐(0) 编辑