提交时间:2025-01-19 15:40:11
运行 ID: 5003
#include <bits/stdc++.h> using namespace std; int main() { int n; cin >> n; while (n != 0) { int digit = n % 10; cout << digit << " "; n /= 10; } cout<<endl; return 0; }