| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 68848 | 彭林江 | 04倒序输出五位数 | C++ | Wrong Answer | 1 MS | 272 KB | 259 | 2024-03-26 19:02:31 |
#include<bits/stdc++.h> using namespace std; int main(){ int n,g,s,b,q,w; cin >>n; g = n % 10; // 12345 s = n / 10 % 10;//12345 b = n / 10 / 10 % 10;// q = n / 1000 % 10; w = n / 1000 % 10; cout << g << s << b << q << w; return 0; }
------Input------
15350
------Answer-----
05351
------Your output-----
05355