HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Sections > Unsorted > problem:


51112 - Even Numbers

Guest
• Review clarifications (1)

Section problems

• 51104 - Steel
• 51113 - The Menu
• 50882 - Say Hello
• 50951 - Odd Numbers
• 50883 - Win or Lose
• 51112 - Even Numbers
• 50892 - Even Numbers
• 51105 - Currency System
• 50891 - Smallest Number
• 50965 - Draw the Pattern
• 51103 - Is it a triangle?
• 50945 - Bigger or Smaller
• 50946 - Area of Rectangle
• 50949 - Vowel or Consonant

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