Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
117806 | 赵梓渊 | 求三个数的最大值 | C++ | Wrong Answer | 1 MS | 268 KB | 261 | 2025-04-20 12:44:56 |
#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; }
------Input------
8 5 20
------Answer-----
max=20
------Your output-----
max=4826768