参考技术A50660 zxl0714 1351 Accepted 44K 15MS G++ 0.39K 2007-04-19 17:59:37 #include #include int main( ) int i, n, l; char data[ 100 ]; while ( scanf("%d", &n) != EOF && n ) while ( n-- ) scanf("%s", data); l = strlen( data ); for ( i = 0; i < l / 2; i++ ) if ( data[ i ] != data[ l - i - 1 ] ) printf("No\n"); break; if ( i == l / 2 ) printf("Yes\n"); return 0; 追问