Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
132675 蔡胤泽 04倒序输出五位数 C++ Accepted 2 MS 272 KB 252 2025-10-12 10:17:25

Tests(10/10):


Code:

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