Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
6658 | 侯宜辰 | 04倒序输出五位数 | C++ | Wrong Answer | 0 MS | 268 KB | 173 | 2025-03-08 16:47:51 |
#include <iostream> using namespace std; int main() { int n; cin >> n; cout << n%10*10000 + (n/10%10)*1000 + (n/100%10)*100 + (n/1000%10)*10 + n/10000; }
------Input------
15350
------Answer-----
05351
------Your output-----
5351