Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
80834 王珠潏 04倒序输出五位数 C++ Accepted 1 MS 276 KB 239 2024-07-11 16:33:37

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; return 0; }