Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
4619 高振轩 求三个数的最大值 C++ Accepted 0 MS 252 KB 219 2024-08-24 15:26:21

Tests(1/1):


Code:

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