#include<bits/stdc++.h> using namespace std; char x[5]; int main() { gets(x); for(int i=4;i>=0;--i){ printf("%c",x[i]); } return 0; }
如上程序在洛谷提交会编译错误