HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Volumes > Beginner > problem:


50269 - Isosceles Triangles

Volume problems

• 50231 - Hours Minutes and Seconds
• 50236 - Put the Numbers in Descend...
• 50238 - Translate Score into Grade
• 50239 - Basic Math Calculator
• 50241 - Convert KPH to MPH
• 50242 - Second Largest
• 50262 - Function f(x)
• 50268 - Download Percentage
• 50269 - Isosceles Triangles
• 50270 - Buy Three Items
• 50271 - Number of Right Triangles
• 50272 - Convert from Hex to Dec
• 50273 - Triangle Property
• 50274 - Sum of the series
• 50275 - Area of 3 Shapes
• 50276 - Simple interest
• 50277 - Automated billing system

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