Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
126274 陈淮遇 06变换四位数 C++ Accepted 1 MS 280 KB 265 2025-07-17 15:47:03

Tests(10/10):


Code:

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