Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
158435 刘若琳 04四位数移位 C++ Accepted 1 MS 268 KB 190 2026-08-21 19:34:09

Tests(8/8):


Code:

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