3buj
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
Time Limit: 2.0 s
Memory Limit: 256.0 MB
Description
Recently, Shahdat watched the movie DDLJ. In this movie, He saw a triangular love angel. But he does not know what is triangle or how to measure it. His friend Roy is preparing a problem such that,
You are given 3 integers A, B, C representing the length of three straight lines. You have to tell if you can make a triangel with these lines.
if you can make a triangel print YES otherwise print NO .
Note : In a triangle, sum of any two sides are strictly greater than the other side.
Input
First line takes an integer \(T\) : number of testcases
each of the next \(T\) lines takes three integers \(A,B,C\)
\(1 <= T <= 100\)
\(1 <= A,B,C <= 1000\)
Output
Print YES if it is possible to make a triangle and NO otherwise in each of the T lines.
Sample
Input | Output |
---|---|
|
|
TLE_Headquarters - round #1
- Status
- Done
- Rule
- ACM/ICPC
- Problem
- 9
- Start at
- 2024-03-27 16:00
- End at
- 2024-03-27 18:30
- Duration
- 2.5 hour(s)
- Host
- Partic.
- 62