提交时间:2020-10-31 13:36:15

运行 ID: 7990

#include<bits/stdc++.h> using namespace std; int main(){ int n; int g,s,b,q; cin>>n; g=n%1000; s=n/10%100; b=n/100%10; q=n/1000; cout<<q<<b<<s<<g; return 0; }