忘记局部变量的回溯了,调了1个小时~ #include <stdio.h> #include <string.h> int num; char input[20][100] = {0}; int hash[20] = {0}; int max_len; int my_strcmp(char *str1, int size1, char *str2, int size2) { int left, right; int flag; int minLeftVal = (size1 == 1) ? 0 : 1; int i; ...