Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
117807 | 赵梓渊 | 求三个数的最大值 | C++ | Accepted | 1 MS | 264 KB | 257 | 2025-04-20 12:45:50 |
#include<bits/stdc++.h> using namespace std; int main() { int a, b, c,e; scanf("%d%d%d", &a, &b,&c); int d; if (a >= b) { d = a; } else { d = b; } if (d >= c) { e = d; } else { e = c; } cout << "max=" << e; return 0; }