练22.4 三角形判断
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.
Description
Given three positive integers representing the lengths of three line segments, determine if these three segments can form a triangle.
Input Format
A single line containing three positive integers a, b, c (), representing the lengths of the three line segments, separated by spaces.
Output Format
If the segments can form a triangle, output "yes"; otherwise, output "no".
Sample
3 4 5yes
20251213 A班作业(10)
- Status
- Done
- Problem
- 10
- Open Since
- 2025-12-13 0:00
- Deadline
- 2025-12-21 23:59
- Extension
- 24 hour(s)