All submissions for this problem are available.
Given three integers, check if there exists a triangle with sides as the given integers.
3 lines containing three integers a,b and c
OutputA single line containing "YES" or "NO" answering the question.
- 1 ≤ a,b,c ≤ 100
Input: 3 4 5 Output: YES
|Time Limit:||1 sec|
|Source Limit:||50000 Bytes|
|Languages:||C, CPP14, JAVA, PYTH, PYTH 3.6, PYP3|
Fetching successful submissions
If you are still having problems, see a sample solution here.