| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 142513 | 李铭洋 | 04四位数移位 | C++ | Wrong Answer | 0 MS | 268 KB | 233 | 2026-01-10 20:10:22 |
#include<iostream> #include<cstdio> using namespace std; int main() { int a,b,c,d,e; cin>>a; b=a/1000; e=a%10; d=a%100-e; c=a%1000-e-d; b=b/10; c=c/10; d=d/10; e=e*1000; a=b+c+d+e; cout<<a; return 0; }
------Input------
6234
------Answer-----
4623
------Your output-----
4023