Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
107536 赵畅 求三个数的最大值 C++ Accepted 1 MS 276 KB 306 2025-01-18 09:51:18

Tests(1/1):


Code:

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