Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
77853 只因你太美(Ikun 真爱粉) 求三个数的最大值 C++ Wrong Answer 0 MS 272 KB 342 2024-06-15 16:16:32

Tests(0/1):


Code:

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


Run Info:

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