HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Sections > Unsorted > problem:


Сoordinate quarters

Section problems

• Railway turnout
• За решеткой
• Забавная игра
• Door lock
• Запаковка
• Змейка
• Игра в числа
• КВН
• Сoordinate quarters
• Копилка
• Коррекция кода
• Куб
• Maze
• Лесенки
• Skiers
• Максимум из минимумов
• Маршрут

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.

Сoordinate quarters

Given the coordinate points, output which quarter has the most points, if the number is equal, then output the first maximum (I,II,III,IV).
The points on the axes are not in quarters.

Input:
1 1,2 24,-5 2,-4 -54,95 -1,7 8,0 2
Output:
I

Comments***
I - 3
II - 1
III - 1
IV - 1




Автор задачи: Талгарбек Тилекматов (Университет Манас)

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

www.contester.ru