Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
89899 王煜鑫 08比较三个数的大小 C++ Wrong Answer 1 MS 272 KB 273 2024-09-07 11:31:57

Tests(8/10):


Code:

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


Run Info:

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