Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
54339 | zhangweiran | 分离整数的各个数 | C++ | Accepted | 0 MS | 240 KB | 193 | 2024-10-27 10:43:20 |
#include <iostream> using namespace std; int main() { int n; cin >> n; while (n >= 10) { cout << n%10 << " "; n/=10; } cout << n; return 0; }