Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
130942 鄢晨曦 04四位数移位 C++ Wrong Answer 1 MS 272 KB 172 2025-09-20 13:59:19

Tests(5/8):


Code:

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


Run Info:

------Input------
7980
------Answer-----
0798
------Your output-----
798