Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
117408 | 邹金行 | 求三个数的最大值 | C++ | Wrong Answer | 0 MS | 272 KB | 259 | 2025-04-18 22:42:05 |
#include <iostream> using namespace std; int main(){ int a,b,c; cin>>a>>b>>c; if(a>b&&a>c){ cout<<a; }else{ cout<<b; } if(b>a&&b>>c){ cout<<b; }else{ cout<<a; } if(c>a&&c>b){ cout<<c; }else{ cout<<a; } return 0; }
------Input------
8 5 20
------Answer-----
max=20
------Your output-----
5820