Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
103546 陈奕涵 06变换四位数 C++ Wrong Answer 1 MS 272 KB 256 2024-12-29 11:48:08

Tests(0/10):


Code:

#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() using namespace std; int main(){ int a,b,c,d,e; cin>>a; b=a%10; c=a/10%10; d=a/100%10; e=a/1000; cout<<e*1000+d*100+b*10+c; return 0; }


Run Info:

------Input------
8051
------Answer-----
815
------Your output-----
8015