Ŀ

գҪıйص䡣
һ repeat (0<repeat<10) repeat 㣺
һַ(Ȳ80)жϸַǷΪġġָ˳͵һַ硰XYZYX͡xyzzyx
Ҫ岢ú mirror(p)жַ p ǷΪġ p ǻַ1򣬷0β p ַָ룬 int
ʾΪ˵
룺
2	  (repeat=2)
abcddcba
abcddcb

YES
NO



#include <stdio.h>
void main()
{
    char s[80];
    int repeat, ri;
    int mirror(char *p);
 
    scanf("%d", &repeat);
    getchar();
    for(ri = 1; ri <= repeat; ri++){
        gets(s);
        if(mirror(s) != 0)
      	    printf("YES\n");
        else
            printf("NO\n");
    }
}

/*---------*/

