Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
65339 袁嘉蔓 06变换四位数 C++ Accepted 2 MS 272 KB 165 2024-01-25 10:36:05

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int q; cin>>q; int w=(q/100%10)*1000+(q/1000%10)*100+(q%10)*10+q/10%10; cout<<w; return 0; }