← All problemsSign in

Easy Triangles

Given three integers, check if there exists a triangle with sides as the given integers. Input 3 lines containing three integers a,b and c Output A single line containing "YES" or "NO" answering the question. Constraints - 1 ≤ a,b,c ≤ 100 Example Input: 3 4 5 Output: YES

HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17

CodeSearch Tutor

Hints, not spoilers — it won’t hand over the full solution unless you insist.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start