Skip to main content

Practice · 2 of 4

Clinic: The Half-Checked Triangle

CHALLENGE
Difficulty: advanced+25 XP

**Bài toán.** Three side lengths (up to 10^12); print YES if they can form a triangle, NO otherwise (degenerate a+b==c is NO). **The submission below checks only a+b>c — Wrong Answer.** Give two counterexamples (one false-YES, one false-NO) and fix it.

Back to lesson: Practice: Clinic Set 2 — Subtle Failures