haruka0205 @ 2020-08-24 16:40:49
#include <string.h> int main() { char a[20]; gets(a); int i; for(i=strlen(a)-1;i>=0;i--) {printf("%c",a[i]);} return 0; }```
by Im_iceman @ 2020-09-12 12:26:05
string s;
getline(cin,s); //输入字符串一直到遇到回车