Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
118066 袁梓豪 04倒序输出五位数 C++ Accepted 1 MS 272 KB 218 2025-04-23 13:23:20

Tests(10/10):


Code:

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