Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
143685 马俊潇 求三个数的最大值 C++ Accepted 0 MS 272 KB 232 2026-01-17 14:52:12

Tests(1/1):


Code:

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