Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
72391 刘珩宇 08比较三个数的大小 C++ Wrong Answer 1 MS 268 KB 229 2024-05-05 15:56:54

Tests(1/10):


Code:

# include<iostream> # include<cmath> using namespace std; int main(){ int a,b,c; cin>>a>>b>>c; if((a>b)&&(b>c)||(a>c)&&(c>b)){ cout<<a; } if((b>a)&&(a>c)||(b>c)&&(c>a)){ cout<<b; } else{ cout<<c; } return 0; }


Run Info:

------Input------
97 95 4
------Answer-----
97
------Your output-----
974