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