Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
120988 | 周泽洋 | 08比较三个数的大小 | C++ | Accepted | 1 MS | 272 KB | 243 | 2025-06-02 19:03:00 |
#include<iostream> #include<cstdio> using namespace std; int main(){ int x,y,z; cin>>x>>y>>z; if(x>y&&x>z){ cout<<x; } if(z>y&&x<z){ cout<<z; } if(x<y&&y>z){ cout<<y; } }