Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
70214 任斌 求三个数的最大值 C++ Accepted 1 MS 268 KB 227 2024-04-14 10:03:12

Tests(1/1):


Code:

#include<iostream> using namespace std; int main() { int n,i,max; cin>>max; for(n=1;n<3;n++){ cin>>i; if(max<=i) max=i; } cout<<"max="<<max<<endl; return 0; }