HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Forums > Discussion of problems > topic:


Problem "50698 - Ayran Delivery"

There is a contest!

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

imesecanOct.07.2015 at 01:56:10 PM
0--- Test 1 ---
5 5 4
2 2 2 2 2
1 5 3
5 3 3
2 5 3
4 5 3

--- Pattern ---
5

imesecanFeb.03.2017 at 01:44:11 PM
1
(1: rkoleci14)
Sample Input 2:
Restaurant 1: 0 and other restaurants (2,3,4 and 5) have two visitors.

imesecanFeb.04.2017 at 07:40:32 PM
2
(3: eberhani14)
1) The number of visitors to the restaurants are given in the second line. Your aim is to maximize the total sell within given distance.
2) If a restaurant is further than the given distance, it is not count.

imesecanFeb.04.2017 at 07:42:01 PM
3
(4: rkoleci14)
Yes, you will calculate shortest distance (which may pass through other restaurants).


www.contester.ru