Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
80847 秦浩然 04倒序输出五位数 C++ Accepted 3 MS 276 KB 245 2024-07-11 16:37:55

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