Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
109294 王晏林 08比较三个数的大小 C++ Accepted 1 MS 272 KB 276 2025-02-08 10:01:34

Tests(10/10):


Code:

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