Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
89509 李谨睿 04倒序输出五位数 C++ Accepted 1 MS 276 KB 249 2024-08-25 13:24:58

Tests(10/10):


Code:

#include <bits/stdc++.h> using namespace std; int main(){ int a,wa,qi,ba,sh,ge; cin>>a; wa=a/10000; qi=a%10000/1000; ba=a%10000%1000/100; sh=a%10000%1000%100/10; ge=a%10000%1000%100%10/1; cout<<ge<<sh<<ba<<qi<<wa; return 0; }