Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
67877 张黄源 04四位数移位 C++ Accepted 1 MS 272 KB 207 2024-03-17 15:33:17

Tests(8/8):


Code:

#include<iostream> using namespace std; int main(){ int n; cin >> n; int g = n % 10; int s = n / 10 % 10; int b = n / 100 % 10; int q = n / 1000 % 10; cout << g << q << b << s; return 0; }