Create 1758.c
parent
cb2c8ec38d
commit
c22d938792
|
@ -0,0 +1,16 @@
|
|||
#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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue