不用库函数的暴力解法 主要采用了冒泡排序,分了三种情况对字符串进行处理 ">#include<string.h> struct str { char ch[101]; }; int main() { struct str n[1001]; struct str temp; int count, len, k; while ((scanf("%d", &len)) != EOF){ count = len; while (count--) { scanf("%s", n[count].ch); } } for (int i = 0; i < len - 1; i++) ...