# include <stdio.h>
int isPalindrome(char s[]){
int i=0,j;
for(j=0; s[j+1]!='\0'; j++);
while(i<=j){
if(s[i++]!=s[j--]);
}
return 1;
}
//メイン関数は書き換えなくてよいです
int main(){
char s[100];
printf("%s -> %d\n",s
,isPalindrome
(s
)); return 0;
}
IyBpbmNsdWRlIDxzdGRpby5oPgoKaW50IGlzUGFsaW5kcm9tZShjaGFyIHNbXSl7CglpbnQgaT0wLGo7Cglmb3Ioaj0wOyBzW2orMV0hPSdcMCc7IGorKyk7CgkJd2hpbGUoaTw9ail7CgkJCWlmKHNbaSsrXSE9c1tqLS1dKTsKCQl9CgkJcmV0dXJuIDE7Cn0KCi8v44Oh44Kk44Oz6Zai5pWw44Gv5pu444GN5o+b44GI44Gq44GP44Gm44KI44GE44Gn44GZCmludCBtYWluKCl7CiAgICBjaGFyIHNbMTAwXTsKICAgIHNjYW5mKCIlcyIscyk7CiAgICBwcmludGYoIiVzIC0+ICVkXG4iLHMsaXNQYWxpbmRyb21lKHMpKTsKICAgIHJldHVybiAwOwp9Cg==