Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
69712 田苒彤 06变换四位数 C++ Accepted 1 MS 268 KB 233 2024-04-06 14:34:55

Tests(10/10):


Code:

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