Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
134464 秦浩然 04倒序输出五位数 C++ Accepted 1 MS 272 KB 245 2025-10-27 17:08:24

Tests(10/10):


Code:

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