bool judge(const char *str){
int len = strlen(str);
int start = 0;
int end = len - 1;
while(start < end){
if(str[start] != str[end]){
return false;
}
start++; end--;
}
return true;
bool judge(const char *str){
int len = strlen(str);
int start = 0;
int end = len - 1;
while(start < end){
if(str[start] != str[end]){
return false;
}
start++; end--;
}
return true;