Code
/*
CODED BY mamudulsakib2019
DATE:-24/03/2024 ; TIME- 17:47 PM
BANGLADESH , SYLHET
*/
#include<bits/stdc++.h>
using namespace std;
typedef unsigned long long ll;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int t;
cin >> t;
while(t--) {
ll a,b,c;
cin >> a >> b >> c;
ll si=a+b;
ll up=b+c;
ll jjk=a+c;
if(si>c && up >a && jjk > b){
cout << "YES" << endl;
}
else{
cout << "NO" << endl;
}
}
return 0;
}
Information
- Submit By
- Type
- Submission
- Problem
- P1047 3buj
- Contest
- TLE_Headquarters - round #1
- Language
- C++20 (G++ 13.2.0)
- Submit At
- 2024-03-27 16:12:25
- Judged At
- 2024-11-11 03:39:27
- Judged By
- Score
- 100
- Total Time
- 2ms
- Peak Memory
- 324.0 KiB