描述
Palindromes are strings that read the same both forwards and backwards. `Eye' is one such example (ignoring case). In this problem, you get to write a program to determine if a given word is a palindrome or not.
输入
Each line of input contains one word with no embedded spaces. Each word will have only alphabetic characters (either upper or lower case).
输出
For each line of input, output either `yes' if the word is a palindrome or `no' otherwise. Don't print the quotes. Case should be ignored when checking the words.
样例输入
eyElaLAlalFooffoobar
样例输出
yesyesyesno
1 #include2 #include 3 #include 4 #include 5 6 char s[65536]; 7 8 void solve() 9 {10 int i,len;11 while(gets(s))12 {13 len=strlen(s);14 for(i=0; i