提交时间:2024-05-18 15:26:38
运行 ID: 147461
#include<iostream> #include<cstdio> #include<cmath> using namespace std; int main() { int n; cin>>n; while(n!=0) { int g=n%10; cout<<g; n/=10; } return 0; }