Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
114430 曹锦择 04倒序输出五位数 C++ Wrong Answer 0 MS 260 KB 288 2025-03-22 12:52:59

Tests(0/10):


Code:

#include<bits/stdc++.h> using namespace std; int main() { int n; n = 12345; int a = n / 1000 / 10;//1 int b = n / 1000 % 10;//2 int c = n / 100 % 10;//3 int d = n % 100 / 10;//4 int e = n % 100 % 10;//5 cout << e * 10000 + d * 1000 + c * 100 + b * 10 + a; return 0; }


Run Info:

------Input------
15350
------Answer-----
05351
------Your output-----
54321