Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
109286 于铁林 08比较三个数的大小 C++ Wrong Answer 1 MS 272 KB 276 2025-02-08 09:56:28

Tests(8/10):


Code:

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


Run Info:

------Input------
97 9 87
------Answer-----
97
------Your output-----
0