Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
68835 杨珞烯 04四位数移位 C++ Wrong Answer 1 MS 272 KB 245 2024-03-25 22:45:39

Tests(0/8):


Code:

#include <iostream> using namespace std; int main(){ int a,b,c,d,n; cin >> a,b,c,d; n = a,b,c,d; a = n / 1000; b = n / 100 % 10; c = n / 10 % 10; d = n / 1 % 10; cout << d << a << b << b <<endl; return 0; }


Run Info:

------Input------
6234
------Answer-----
4623
------Your output-----
4622