Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
113699 袁梓豪 04四位数移位 C++ Accepted 1 MS 272 KB 236 2025-03-16 12:59:53

Tests(8/8):


Code:

#include <bits/stdc++.h> using namespace std; int main() { int a, b, c, d, e, f, g; cin >> a; b = a / 10; c = a % 10; d = b / 10; e = d % 10; f = b % 10; g = d / 10; cout << c << g << e << f << endl; return 0; }