提交时间:2024-05-18 15:01:55
运行 ID: 147395
#include <bits/stdc++.h> using namespace std; int main() { int n; cin >> n; while(n != 0) { int g = n % 10; cout << g; n /= 10; } }