Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
164424 王垚植 06变换四位数 C++ Accepted 1 MS 272 KB 230 2026-11-02 21:26:56

Tests(10/10):


Code:

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