Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
33471 | chenyifei | 分离整数的各个数 | C++ | Accepted | 0 MS | 248 KB | 154 | 2023-12-09 15:17:50 |
#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; }