Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
115481 | 郑景文 | 08比较三个数大小II | C++ | Accepted | 1 MS | 276 KB | 207 | 2025-03-30 16:43:36 |
#include <bits/stdc++.h> using namespace std; int main() { int a,b,c; cin>>a>>b>>c; int max; if(a<b){ max=a; } else { max=b; } if(max<c) { cout<<max; } else{ cout<<c; } }