2006//pointer/4/ ¶
~cpp
#include <iostream>
using namespace std;
void main()
{
char buf[64]={0, };
cin >> buf;
int length = strlen(buf);
int i;
bool result;
for(i=length-1; i>=length/2; i--)
{
if(buf[i]!=buf[length-1-i])
{
result = false;
break;
}
else
result=true;
}
cout << result << endl;
}










