Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
65699 苏馨怡 求三个数的最大值 C++ Wrong Answer 2 MS 272 KB 200 2024-02-02 15:57:46

Tests(0/1):


Code:

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


Run Info:

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