用时:0ms
#include
#include
int main()
{
freopen("1295.txt","r",stdin);
freopen("output.txt","w",stdout);
int n,i,j;
char s[100];
scanf("%d/n",&n);
for(i=0;i
{
gets(s);
j=strlen(s)-1;
while(j+1!=0)
{
putchar(s[j]);
j--;
}
putchar('/n');
}
return 0;
}