#include <stdio.h>
#include <string.h>
int main(void)
{
char str1[100],str2[100];
int k,len,j;
printf("回文か判定します、文字を入力してください\n"); for(k=0;k<len;k++)str2[len-(k+1)]=str1[k];
for(j=0;j<len;j++)if(str1[j]!=str2[j])break;
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxzdHJpbmcuaD4KCmludCBtYWluKHZvaWQpCnsKY2hhciBzdHIxWzEwMF0sc3RyMlsxMDBdOwppbnQgayxsZW4sajsKCnByaW50Zigi5Zue5paH44GL5Yik5a6a44GX44G+44GZ44CB5paH5a2X44KS5YWl5Yqb44GX44Gm44GP44Gg44GV44GEXG4iKTsKc2NhbmYoIiVzIiwgc3RyMSk7Cmxlbj1zdHJsZW4oc3RyMSk7CmZvcihrPTA7azxsZW47aysrKXN0cjJbbGVuLShrKzEpXT1zdHIxW2tdOwoKZm9yKGo9MDtqPGxlbjtqKyspaWYoc3RyMVtqXSE9c3RyMltqXSlicmVhazsKCmlmKGo9PWxlbilwcmludGYoIuWbnuaWh+OBp+OBmVxuIik7CmVsc2UgcHJpbnRmKCLlm57mlofjgafjga/jgYLjgorjgb7jgZvjgpNcbiIpOwoKcmV0dXJuIDA7Cn0=