HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Sections > Unsorted > problem:


51112 - Even Numbers

Guest
• Review clarifications (1)

Section problems

• 50949 - Vowel or Consonant
• 50881 - Exchange the Values
• 50937 - Calculate the Average
• 50947 - Calculate the Average
• 50964 - Increasing or Decreasing
• 50948 - Translate Score into Grade
• 51104 - Steel
• 51113 - The Menu
• 51112 - Even Numbers
• 51105 - Currency System
• 51103 - Is it a triangle?
• 51114 - The traveling vehicle
• 50251 - Symmetric matrix
• 50252 - Birthday
• 50239 - Eating cheese
• 50244 - Chessboard Pattern
• 50245 - Santa Gifts

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.

Even Numbers

Question: Write a program that finds the minimum of 2 integer numbers.

Input specification: For each line, an integer is input.

Output specification: Displays the minimum of 2 integer numbers like the format as follows:
n "is the smallest". If both numbers are equal, it outputs "both numbers are equal".

Sample Input I Sample Output I
12
8
40
40
Sample Input II Sample Output II
8 is the smallest both numbers are equal



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

www.contester.ru