王镜铭 • 1个月前
#include<bits/stdc++.h>
using namespace std;
int main() {
long long a, b, c;
cin >> a >> b >> c;
if (a > b && a > c) {
if (c + b > a) {
cout << "yes";
} else {
cout << "no";
}
}
if (a < b && b > c) {
if (c + a > b) {
cout << "yes";
} else {
cout << "no";
}
}
if (c > b && a < c) {
if (a + b > c) {
cout << "yes";
} else {
cout << "no";
}
}
return 0;
}
评论: