Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|---|
47398 | 杨中琦 | 分离整数的各个数位 | C++ | Accepted | 100 | 0 MS | 252 KB | 138 | 2022-07-14 17:46:36 |
#include<bits/stdc++.h> using namespace std; int main(){ int n; cin>>n; while(n){ cout<<n%10<<" "; n/=10; } return 0; }