各位大佬能不能帮我康康哪里错了

#include<stdio.h>#include<string.h>int main(){ int i,j,n,m,t,L; while(scanf("%d",&n)!=EOF) { m=n; while(m>0) { char s[100]; if(m==n) getchar(); gets(s); t=strlen(s); for(i=0;i<=(t/2-1);i++) { j=t-1-i; if(s[i]!=s[j]) L=1; else L=0; } if(L==1) printf("no\n"); else printf("yes\n"); m--; } }}