Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
143036 伊建润 04四位数移位 C++ Wrong Answer 0 MS 272 KB 329 2026-01-11 17:54:59

Tests(0/8):


Code:

#include <iostream> using namespace std; int main() { int num; cin >> num; int units = num % 10; int tens = (num / 10) % 10; int hundreds = (num / 100) % 10; int thousands = num / 1000; int ne = units * 1000 + thousands * 100 + tens * 10 + hundreds; cout << ne << endl; return 0; }


Run Info:

------Input------
6234
------Answer-----
4623
------Your output-----
4632