| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 160074 | 邹金行 | 字符串中最大的数字II | C++ | Accepted | 2 MS | 276 KB | 209 | 2026-09-12 14:36:07 |
#include<bits/stdc++.h> using namespace std; string s; int main() { cin>>s; int len=s.size(); char mx=s[0]; for(int i=1;i<len;i++){ if(s[i]>mx){ mx=s[i]; } } cout<<mx; return 0; }