HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Volumes > Создуктор (Dictionary) > problem:


04. Сoordinate quarters

Volume problems

• 01. Find all duplicates in array
• 02. Integer to English words / Санд...
• 03. Dictionary from String
• 04. Сoordinate quarters
• 05. Scrabble
• 06. Sort People
• 07. Find the Missing number
• 08. Бутун сандар массиви
• 09. Roman to integer
• 10. Тамгалардын комбинациясы
• 11. Создуктон минималдуу маанис...
• 12. Word Break

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