Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
157956 钱炜懿 06变换四位数 C++ Accepted 1 MS 272 KB 201 2026-08-19 16:36:46

Tests(10/10):


Code:

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