| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 158434 | 刘若琳 | 04四位数移位 | C++ | Wrong Answer | 1 MS | 276 KB | 197 | 2026-08-21 19:30:32 |
#include<bits/stdc++.h> 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)%10; cout<<b*1000+c+d*10+e*100<<endl; return 0; }
------Input------
7980
------Answer-----
0798
------Your output-----
798