Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
145270 徐毅然 求三个数的最大值 C++ Accepted 1 MS 272 KB 298 2026-01-25 14:24:22

Tests(1/1):


Code:

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