Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
5392 吴承熹 04倒序输出五位数 C++ Wrong Answer 0 MS 264 KB 247 2024-11-16 08:52:45

Tests(7/10):


Code:

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


Run Info:

------Input------
15350
------Answer-----
05351
------Your output-----
5351