1 条题解
-
1莫言 (slz莫言) LV 10 @ 2024-11-30 11:50:04
#include <bits/stdc++.h> #define LL long long using namespace std; int a , b , c; const int INF = 0x3f3f3f3f; const int N = 1e5 + 10; int main() { cin >> a >> b >> c; if ((a - b) + (a - c) < (b + c)) { cout << "UP!"; } else if ((a - b) + (a - c) > (b + c)) { cout << "Down!"; } else cout << "The same!"; return 0; }
- 1
信息
- ID
- 3081
- 时间
- 1000ms
- 内存
- 256MiB
- 难度
- 2
- 标签
- (无)
- 递交数
- 97
- 已通过
- 19
- 上传者