Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
164331 胡栋文 04倒序输出五位数 C++ Accepted 1 MS 268 KB 204 2026-11-01 18:54:15

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int n,w,q,b,s,g,z; cin>>n; g=n%10; s=n/10%10; b=n/100%10; q=n/1000%10; w=n/10000%10; cout<<g<<s<<b<<q<<w<<endl; return 0; }