| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 143998 | 张晓冉 | 04四位数移位 | C++ | Wrong Answer | 0 MS | 272 KB | 284 | 2026-01-18 10:14:13 |
#include<bits/stdc++.h> using namespace std; int main(){ int a; cin>>a; int g,s,b,q; g = a%10; s = a/10%10; b = a/100%10; q = a/1000; if(g != 0){ cout<<q<<g<<s<<b<<endl; }else{ cout<<g<<s<<b<<endl; } return 0; }
------Input------
6234
------Answer-----
4623
------Your output-----
6432