| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 143027 | 李昊阳 | 04四位数移位 | C++ | Wrong Answer | 0 MS | 272 KB | 284 | 2026-01-11 17:49:21 |
#include <iostream> using namespace std; int main() { long long n; cin>>n; int thousand=n/1000; int hundred=(n/100)%10; int ten=(n/10)%10; int unit=n%10; int result=unit*1000+thousand*100+hundred*10+ten; cout<<result<<endl; return 0; }
------Input------
7980
------Answer-----
0798
------Your output-----
798