Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
75595 何思佳 求三个数的最大值 C++ Accepted 1 MS 272 KB 178 2024-05-27 20:54:49

Tests(1/1):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int a,mx=-2e9; for(int i=1;i<=3;i++){ cin>>a; if(a>mx){ mx=a; } } cout<<"max="<<mx; return 0; }