Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
143708 8 求三个数的最大值 C++ Wrong Answer 0 MS 268 KB 530 2026-01-17 15:28:48

Tests(0/1):


Code:

#include<iostream> using namespace std; int main(){ int a,b,c; cin>>a>>b>>c; if(a>b){ if(b>c) cout<<"max"<<a<<endl; } if(a>c){ if(c>b) cout<<"max"<<a<<endl; } if(b>a){ if(a>c) cout<<"max"<<b<<endl; } if(b>c){ if(c>a) cout<<"max"<<b<<endl; } if(c>b){ if(b>a) cout<<"max"<<c<<endl; } if(c>a){ if(a>b) cout<<"max"<<c<<endl; } return 0; }


Run Info:

------Input------
8 5 20
------Answer-----
max=20
------Your output-----
max20