Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
33036 | 张淳睿 | 分离整数的各个数 | C++ | Accepted | 0 MS | 244 KB | 154 | 2023-12-04 20:58:09 |
#include<iostream> using namespace std; int main() { int n; cin>>n; while(n>=1) { int a=n%10; n=n/10; cout<<a<<" "; } return 0; }