| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 89291 | bnu_fanmeijie | 分离整数的各个数 | C++ | Accepted | 0 MS | 244 KB | 330 | 2026-05-26 16:01:13 |
#include <iostream> using namespace std; int main() { int n; cin >> n; // 先输出第一位(不加空格) cout << n % 10; n = n / 10; // 后面的每位前面都加空格 while (n > 0) { cout << " " << (n % 10); n = n / 10; } return 0; }