#include <bits/stdc++.h> using namespace std; int main() { int x; cin >> x; while (x > 0) { cout << x % 10; x = x / 10; if(x > 0) cout << " "; } return 0; }
使用您的 蒙青创OJ 通用账户