HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Sections > Unsorted > problem:


Сoordinate quarters

Section problems

• Variant 8
• Variant 9
• Fleas
• Babel tower
• Divisors
• Pizza delivery
• Railway turnout
• Door lock
• Сoordinate quarters
• Куб
• Maze
• Skiers
• Matrix
• Range Minimum Query
• Министерство правды
• Coins and nests
• Монополия

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