imesecan | Oct.20.2012 at 11:31:12 AM
|
0 | Сообщение скрыто
|
imesecan | Oct.20.2012 at 11:49:26 AM | |
1 | No, the sample's correct. It's to be like that.
|
imesecan | Oct.20.2012 at 12:15:24 PM
|
2 | Сообщение скрыто
|
imesecan | Oct.20.2012 at 12:31:19 PM | |
3 | The question mentions that "The sequence will contain at least one negative number". Thus numbering starts when the number goes to negative.
|
imesecan | Oct.20.2012 at 12:34:07 PM
|
4 | Сообщение скрыто
|
imesecan | Oct.20.2012 at 12:43:00 PM | |
5 | Post is deleted
|
imesecan | Oct.20.2012 at 12:46:53 PM
|
6 | Сообщение скрыто
|
imesecan | Oct.20.2012 at 12:54:52 PM
|
7 | Сообщение скрыто
|
imesecan | Oct.20.2012 at 01:13:03 PM
|
8 | Сообщение скрыто
|
imesecan | Oct.20.2012 at 01:20:22 PM | |
9 | Post is deleted
|
imesecan | Oct.20.2012 at 02:04:47 PM
|
10 | Сообщение скрыто
|
imesecan | Oct.20.2012 at 03:48:30 PM | |
11 | 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.
|