Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
108374 常钰杰 04倒序输出五位数 C++ Accepted 1 MS 276 KB 319 2025-01-20 10:25:19

Tests(10/10):


Code:

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