OJ-Problems-Source/QUSTOJ/1773.c

16 lines
221 B
C
Raw Normal View History

2016-06-28 14:30:02 +08:00
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
char a[1024];
int main()
{
gets(a);
int L=strlen(a);
for(int i=L-1;i>=0;i--)
{
printf("%c",a[i]);
}
printf("\n");
return 0;
}