| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 75568 | sh25_shenpy | 求三位数各数位中最大值 | C++ | Accepted | 0 MS | 252 KB | 253 | 2025-12-07 20:06:32 |
#include <bits/stdc++.h> using namespace std; int main( ) { int x,a,s,d,m; cin>>x; a=x%10; s=(x-a)/10%10; d=(x-s*10-a)/100; m=max(a,s); m=max(m,d); cout<<d<<" "<<s<<" "<<a<<endl; cout<<m; return 0; }