Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
109289 王晏林 08比较三个数的大小 C++ Wrong Answer 0 MS 268 KB 276 2025-02-08 09:58:20

Tests(0/10):


Code:

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


Run Info:

------Input------
69 90 74
------Answer-----
90
------Your output-----
4195064