Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
144306 qsy 求三个数的最大值 C++ Wrong Answer 0 MS 268 KB 264 2026-01-21 17:57:01

Tests(0/1):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int a,b,c; cin>>a>>b; if(a>b&&a>c){ cout<<"max="<<a; } if(b>a&&b>c){ cout<<"max="<<b; } if(c>a&&c>b){ cout<<"max="<<c; } return 0; }


Run Info:

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