# include <stdio.h>
int isPalindrome(char s[]){
}
right=strlen-1;
while(left<right){
if(s[left]!=s[right]){
return 0;
}
left++;
right--;
}
return 1;
}
int main(){
char s[100];
printf("%s -> %d\n",s
,isPalindrome
(s
)); return 0;
}
IyBpbmNsdWRlIDxzdGRpby5oPgoKaW50IGlzUGFsaW5kcm9tZShjaGFyIHNbXSl7CglpbnQgbGVmdD0wLCByaWdodCwgc3RybGVuPTA7Cgl3aGlsZShzW3N0cmxlbl09PSdcMCcpewoJCXN0cmxlbisrOwoJfQoJcmlnaHQ9c3RybGVuLTE7Cgl3aGlsZShsZWZ0PHJpZ2h0KXsKICAgICAgICBpZihzW2xlZnRdIT1zW3JpZ2h0XSl7CiAgICAgICAgCXJldHVybiAwOwogICAgICAgIH0KICAgICAgICBsZWZ0Kys7CiAgICAgICAgcmlnaHQtLTsKCX0KCXJldHVybiAxOwp9CgppbnQgbWFpbigpewogICAgY2hhciBzWzEwMF07CiAgICBzY2FuZigiJXMiLHMpOwogICAgcHJpbnRmKCIlcyAtPiAlZFxuIixzLGlzUGFsaW5kcm9tZShzKSk7CiAgICByZXR1cm4gMDsKfQo=