Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
162763 胡栋文 06变换四位数 C++ Accepted 1 MS 272 KB 237 2026-10-18 19:56:34

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int n,gw,sw,bw,qw,zs; cin>>n; gw=n%10; sw=n/10%10; bw=n/100%10; qw=n/1000%10; zs=bw*1000+qw*100+gw*10+sw; cout<<zs<<endl; return 0; }