2 条题解
-
1
#include<iostream> #include<cstdio> #include<cmath> #include<algorithm> using namespace std; int main(){ int a,b,c; cin >> a >> b >> c; bool bl1=a>b; bool bl2=a>c; bool bl3=b>c; if(bl1 == 1){ if(bl2 == 1){ cout << a; }else{ cout << c; } }else{ if(bl3 == 1){ cout << b; }else{ cout << c; } } return 0; }
- 1
信息
- ID
- 6861
- 时间
- 1000ms
- 内存
- 128MiB
- 难度
- 1
- 标签
- (无)
- 递交数
- 66
- 已通过
- 35
- 上传者