Problem

Source: Chinese Northern Mathematical Olympiad 2007

Tags: geometry, inradius, inequalities, area of a triangle, Heron's formula, triangle inequality, algebra



The inradius of triangle $ ABC$ is $ 1$ and the side lengths of $ ABC$ are all integers. Prove that triangle $ ABC$ is right-angled.