mirror of
https://github.com/Kiritow/OJ-Problems-Source.git
synced 2024-03-22 13:11:29 +08:00
17 lines
220 B
C
17 lines
220 B
C
|
#include <stdio.h>
|
||
|
#include <stdlib.h>
|
||
|
|
||
|
char pool[1024];
|
||
|
int main()
|
||
|
{
|
||
|
int n;
|
||
|
scanf("%d%*c",&n);
|
||
|
gets(pool);
|
||
|
for(int i=n-1;i>=0;--i)
|
||
|
{
|
||
|
printf("%c",pool[i]);
|
||
|
}
|
||
|
return printf("\n"),0;
|
||
|
}
|
||
|
|