Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
70608 杨珞烯 06变换四位数 C++ Accepted 1 MS 268 KB 185 2024-04-16 18:57:36

Tests(10/10):


Code:

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