Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
158436 刘若琳 04倒序输出五位数 C++ Wrong Answer 1 MS 276 KB 188 2026-08-21 19:41:47

Tests(0/10):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int a,b,c,d,e; cin>>a; b=a%10; c=(a/10)%10; d=(a/100)%10; e=(a/1000)%10; cout<<b<<e<<d<<c<<endl; return 0; }


Run Info:

------Input------
15350
------Answer-----
05351
------Your output-----
0535