D. 练22.4  三角形判断

    Type: Default 1000ms 128MiB

练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 (1a,b,c1001≤a,b,c≤100), 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 5
yes

20251213 A班作业(10)

Not Claimed
Status
Done
Problem
10
Open Since
2025-12-13 0:00
Deadline
2025-12-21 23:59
Extension
24 hour(s)