| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 68697 | 揭伟琦 | 04倒序输出五位数 | C++ | Wrong Answer | 1 MS | 272 KB | 208 | 2024-03-24 13:32:16 |
#include<bits/stdc++.h> using namespace std; int main(){ int n; cin >>n; int a=n%10; int b=n/10%10; int c=n/100%10; int d=n/1000%10; int e=n/10000%10; cout <<a<<d<<c<<b<<e; return 0; }
------Input------
17908
------Answer-----
80971
------Your output-----
87901