Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
115480 | 郑景文 | 08比较三个数的大小 | C++ | Accepted | 0 MS | 272 KB | 207 | 2025-03-30 16:42:31 |
#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; } }