Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
114462 刘明沅 04倒序输出五位数 C++ Accepted 1 MS 272 KB 303 2025-03-22 12:59:14

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; int main() { int n; cin>>n; 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<<d<<c<<b<<a; //cout<<e*10000+d*1000+c*100+b*10+a; return 0; }