Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
117800 唐洪盛 求三个数的最大值 C++ Accepted 1 MS 272 KB 218 2025-04-20 12:33:03

Tests(1/1):


Code:

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