Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
80239 勾好 04四位数移位 C++ Wrong Answer 1 MS 272 KB 208 2024-07-11 11:48:06

Tests(0/8):


Code:

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


Run Info:

------Input------
6234
------Answer-----
4623
------Your output-----
4326