llq1227316458 @ 2020-12-13 16:05:11
#include "string.h"
#include "stdio.h"
int main()
{
char c[100];
int i;
gets(c);
i=strlen(c);
for(--i;i>=0;i--)
printf("%c",c[i]);
}
by S0CRiA @ 2020-12-13 16:08:09
@llq1227316458 最好不用gets()
by YiChe @ 2020-12-13 16:08:54
洛谷gets经常炸...
by llq1227316458 @ 2020-12-13 16:09:53
@Love_Aviation 好的,谢谢大佬