HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Sections > Arithmetic > problem:


51028 - Isosceles Triangles

Guest
• Review clarifications (1)

Section problems

• 50659 - Covariance Matrix
• 50658 - The Message
• 51029 - Buy Three Items
• 50916 - Ascending Numbers
• 51032 - Triangle Property
• 51033 - Sum of the series
• 50917 - Descending Numbers
• 51027 - Download Percentage
• 51028 - Isosceles Triangles
• 51031 - Convert from Hex to Dec
• 51030 - Number of Right Triangles
• 50553 - Divisible by m
• 50554 - nth power of m
• 50565 - Binary numbers
• 50574 - Triangular Numbers
• 50578 - Mersenne prime
• 50581 - The roots of a quadratic eq...

Feedback

If you notice incorrect translations in Contester, please let author know.

Time limit 2000/4000/4000/4000 ms. Memory limit 65000/65000/65000/65000 Kb.
Question by Ibrahim Mesecan.

Isosceles Triangles

Question: An isosceles triangle is a triangle with (at least) two equal sides. You will be given the three sides of a triangle, check if it is an equilateral triangle. Note: Assume that the given number triples comply the triangle property (any one side is smaller than the sum of the other two sides).

Input specification: You will be given 3 integers (s1, s2, s3) where 0 ≤ (s1, s2, s3) ≤ 10 million.

Output specification: Show "Yes", if it complies the isosceles triangle property. Show "No", otherwise

Sample Input I
5 7 5
Sample Input II
3 5 7
Sample Output I
Yes
Sample Output II
No



Для отправки решений необходимо выполнить вход.

www.contester.ru