HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Sections > Unsorted > problem:


a

Section problems

• I. Подстрока
• IOI 2014 Gandola
• Integer to English words / Санды т...
• J. Rag
• J. Вода
• K. Vampire
• Keyboard Row
• a
• a
• Short name
• Shymbulak
• Sultan's game
• Sum of digits
• Train
• Word Break
• XOR
• sravnenie

Feedback

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

Time limit 200/200/4000/4000 ms. Memory limit 65000/65000/65000/65000 Kb.

Write a program that decides if a number is odd or even.

Input : An integer.

Output : "Odd" or "Even".

Hint : Even numbers are divisible by 2. That is to say when an even number
is divided by 2, the remainder is 0. Use modulus operator (%) to
obtain the remainder.

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

www.contester.ru