HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Contests > 29.04. - 5.05.16 > problem:


Switch. Colour

29.04. - 5.05.16

Start: Apr.29.2016 at 03:03:40 PM
Finish: May.06.2016 at 10:03:40 AM
The contest is finished!
• Contest scoreboard

Contest problems

• Switch. East calendar
• Switch. Month
• Switch. Colour
• z6
• z7
• z9

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.

Написать программу, которая будет выводить название цвета по его порядковому номеру, а в случае ошибки выводить - «impossible».

Ввод Вывод
1 green
2 red
3 yellow
4 black
5 white
6 blue
7 pink
8 impossible
Для отправки решений необходимо выполнить вход.

www.contester.ru