Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
4892 陆若涵 08比较三个数的大小 C++ Wrong Answer 0 MS 260 KB 257 2024-09-28 20:48:53

Tests(3/10):


Code:

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


Run Info:

------Input------
39 45 89
------Answer-----
89
------Your output-----
45