Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
117802 | 张修睿 | 求三个数的最大值 | C++ | Wrong Answer | 0 MS | 264 KB | 249 | 2025-04-20 12:38:06 |
#include<bits/stdc++.h> using namespace std; int main() { int a, b,c,d,e; scanf("%d,%d,%d", &a, &b,&c); if (a >= b) { d = a; } else { d = b; } if (d >= c) { e = d; } else { e = c; } cout << "max=" << c; return 0; }
------Input------
8 5 20
------Answer-----
max=20
------Your output-----
max=0