| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 143021 | 伊建润 | 04四位数移位 | C++ | Wrong Answer | 0 MS | 272 KB | 334 | 2026-01-11 17:48:17 |
#include <iostream> int main() { int num; std::cin >> num; int units = num % 10; int tens = (num / 10) % 10; int hundreds = (num / 100) % 10; int thousands = num / 1000; int new_num = units * 1000 + thousands * 100 + tens * 10 + hundreds; std::cout << new_num << std::endl; return 0; }
------Input------
6234
------Answer-----
4623
------Your output-----
4632