Description:
ac code:(accept code)
#include <stdio.h>
int main(void)
{
int f[80];
int i=0;
char ch;
ch=getchar();
while(ch!='\n')
{
f[i]=ch;
i++;
ch=getchar();
}
for(i=i-1;i>=0;i--)
{
putchar(f[i]);
}
return 0;
}
Description:
ac code:(accept code)
#include <stdio.h>
int main(void)
{
int f[80];
int i=0;
char ch;
ch=getchar();
while(ch!='\n')
{
f[i]=ch;
i++;
ch=getchar();
}
for(i=i-1;i>=0;i--)
{
putchar(f[i]);
}
return 0;
}