Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
130700 郑喆哲 求三个数的最大值 C++ Accepted 1 MS 268 KB 246 2025-09-14 17:18:17

Tests(1/1):


Code:

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