提交时间:2020-08-14 16:34:17

运行 ID: 5637

#include<bits/stdc++.h> using namespace std; int main(){ int n; cin>>n; cout<<n%10<<" "; while(n/10%10!=0){ cout<<n/10%10<<" "; n=n/10; } return 0; }