Run ID:78490
提交时间:2024-06-22 11:17:45
#include<iostream> using namespace std; int main(){ int m,a,b,c,d; cin>>m; a = (m/1)%10; b = (m/10)%10; c = (m/100)%10; d = (m/1000)%10; cout<<c*1000+d*100+a*10+b; return 0; }