Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
12234 苏莉雯 求三个数的最大数 C++ 通过 100 1 MS 260 KB 263 2025-07-08 17:24:22

Tests(1/1):


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


测评信息: