Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
77345 张湘哲 06变换四位数 C++ Accepted 1 MS 268 KB 190 2024-06-08 20:05:09

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; int main() { int a; cin>>a; int b,c,d,e; b=a%10; c=a/10%10; d=a/100%10; e=a/1000%10; cout<<d*1000+e*100+b*10+c; return 0; }