ГлавнаяСборникиТурнирыРазделыФорумыУчастникиПечатьПомощьО системе

Форумы > Обсуждение задач > тема:


Задача "50925 - Optimizing Elevator Usage"

Идёт турнир!

В настоящий момент идёт турнир. Некоторая информация и функции сервера недоступны до его окончания.

imesecan08.мая.2016 в 18:02:13
0--- Test 1 ---
8 30
6 12 16
15 11 58
17 14 29
19 8 14
8 8 17
3 14 41
18 14 53
10 12 14
3
12 33
14 30
11 49

--- Pattern ---
0
11
15

imesecan17.ноя.2016 в 19:35:19
1The time interval starts from 00:00 and goes through 23:59

For 12:33 the answer is 0 because the intervals are for 30 minutes. So, the person who is asking for 12:16, is considered for the interval 12:00 - 12:29. And 12:33 is considered for the interval 12:30 - 12:59.

When precision is 144, you will define one waiting floor for the hours between 00:00 and 02:23, and then another waiting floor for the hours 02:24 and 04:47, etc.


www.contester.ru