HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Forums > Discussion of problems > topic:


Problem "Question 4"

There is a contest!

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

imesecanOct.20.2012 at 11:31:12 AM
0Сообщение скрыто

imesecanOct.20.2012 at 11:49:26 AM
1No, the sample's correct.
It's to be like that.

imesecanOct.20.2012 at 12:15:24 PM
2Сообщение скрыто

imesecanOct.20.2012 at 12:31:19 PM
3
(2: Arnold)
The question mentions that "The sequence will contain at least one negative number". Thus numbering starts when the number goes to negative.

imesecanOct.20.2012 at 12:34:07 PM
4Сообщение скрыто

imesecanOct.20.2012 at 12:43:00 PM
5Post is deleted

imesecanOct.20.2012 at 12:46:53 PM
6Сообщение скрыто

imesecanOct.20.2012 at 12:54:52 PM
7Сообщение скрыто

imesecanOct.20.2012 at 01:13:03 PM
8Сообщение скрыто

imesecanOct.20.2012 at 01:20:22 PM
9Post is deleted

imesecanOct.20.2012 at 02:04:47 PM
10Сообщение скрыто

imesecanOct.20.2012 at 03:48:30 PM
11
(7: evis)
The question mentions that
"The sequence will contain at least one negative number"
and thus position counter starts when number goes into negative.
for the input: 3, -5, -3, 0, 1, -1, 9, -3, -7, 10, -17; The current_min_sum is -10 and at position 9, then it goes to 0 at 10 and -17 at position 11. Thus start pos is 11.


www.contester.ru