# include <stdio.h>
# include <string.h> /////////////////文字数数える用
int isPalindrome(char s[]){
//関数の中だけを書き換えてください
for(int x=0;x<=A;x++)
{
if(s[x] != s[A-1-x]) return 0;///違うとき0
}
return 1;
//回文になっているとき1を返す
//回文になっていないとき0を返す
}
//メイン関数は書き換えなくてよいです
int main(){
char s[100];
printf("%s -> %d\n",s
,isPalindrome
(s
)); return 0;
}
IyBpbmNsdWRlIDxzdGRpby5oPgojIGluY2x1ZGUgPHN0cmluZy5oPiAvLy8vLy8vLy8vLy8vLy8vL+aWh+Wtl+aVsOaVsOOBiOOCi+eUqAoKaW50IGlzUGFsaW5kcm9tZShjaGFyIHNbXSl7CgkvL+mWouaVsOOBruS4reOBoOOBkeOCkuabuOOBjeaPm+OBiOOBpuOBj+OBoOOBleOBhAoJaW50IEE9c3RybGVuKHMpOwoJZm9yKGludCB4PTA7eDw9QTt4KyspCgkJCXsKCQkJaWYoc1t4XSAhPSBzW0EtMS14XSkgcmV0dXJuIDA7Ly8v6YGV44GG44Go44GNMAoJCQl9CglyZXR1cm4gMTsKCS8v5Zue5paH44Gr44Gq44Gj44Gm44GE44KL44Go44GN77yR44KS6L+U44GZCgkvL+WbnuaWh+OBq+OBquOBo+OBpuOBhOOBquOBhOOBqOOBje+8kOOCkui/lOOBmQp9CiAKLy/jg6HjgqTjg7PplqLmlbDjga/mm7jjgY3mj5vjgYjjgarjgY/jgabjgojjgYTjgafjgZkKaW50IG1haW4oKXsKICAgIGNoYXIgc1sxMDBdOwogICAgc2NhbmYoIiVzIixzKTsKICAgIHByaW50ZigiJXMgLT4gJWRcbiIscyxpc1BhbGluZHJvbWUocykpOwogICAgcmV0dXJuIDA7Cn0=