Run ID Author Problem Lang Verdict Time Memory Code Length Submit Time
51605 张思存 三角形判断 C++ Accepted 1 MS 248 KB 301 2024-09-22 21:47:09

Tests(1/1):


#include<bits/stdc++.h> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; int max = a; if (b > max) { max = b; } if (c > max) { max = c; } if(max < a+b){ cout<<"yes"; }else{ cout<<"no"; } return 0; }


Judgement Protocol: