提交时间:2020-08-14 16:53:41
运行 ID: 5661
#include<bits/stdc++.h> using namespace std; int main(){ int n,a=0; cin>>n; while(n>0){ if(a==0) cout<<n%10; else cout<<" "<<n%10; a++; n/=10; } cout<<endl; return 0; }