Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
132162 蔡胤泽 06变换四位数 C++ Accepted 2 MS 268 KB 234 2025-10-07 10:28:35

Tests(10/10):


Code:

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