Code
#include <bits/stdc++.h>
using namespace std;
int main()
{
int T,A,B,C;
cin>>T;
while(T--){
cin>>A>>B>>C;
if(A+B>=C && B+C>=A && C+A>=B)
cout<<"YES"<<endl;
else
cout<<"NO"<<endl;
}
}
Information
- Submit By
- Type
- Submission
- Problem
- P1047 B. 3buj
- Language
- C++17 (G++ 13.2.0)
- Submit At
- 2025-08-07 15:43:17
- Judged At
- 2025-08-07 15:43:17
- Judged By
- Score
- 20
- Total Time
- 1ms
- Peak Memory
- 532.0 KiB