提交时间:2024-05-05 17:11:11
运行 ID: 145782
#include<bits/stdc++.h> using namespace std; int main(){ int a; cin>>a; if(a%10==0) cout<<a%100/10*100+a%1000/100*10+a/1000; else cout<<a%10*1000+a%100/10*100+a%1000/100*10+a/1000; return 0; }