Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
100438 | 任紫谦 | 08比较三个数的大小 | C++ | Accepted | 1 MS | 272 KB | 212 | 2024-12-07 18:22:29 |
#include <iostream> using namespace std; int main(){ int a,b,c,d; cin>>a>>b>>c; if(a>b){ d=a; }else{ d=b; } if(c>d){ d=c; } cout<<d<<endl; }