| Run ID | 作者 | 问题 | 语言 | 测评结果 | 时间 | 内存 | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 88994 | sh25_zhoumy | 求三位数各数位中最大值 | C++ | 解答错误 | 0 MS | 256 KB | 217 | 2026-05-22 14:39:47 |
#include<bits/stdc++.h> using namespace std; int s[3]; int main(){ int n; cin>>n; for(int i=0;i<3;++i){ s[i]=n%10; n/=10; } sort(s,s+3); cout<<s[2]; return 0; }