|
|
вернуться в форумnice task. There's a hint for those who want it. Послано jk_qq 23 мар 2014 08:26 substract one from every element of sequence and search for prefix or suffix (I mean subsequence A_0, A_1, ..., A_j or A_k, A_{k+1}, ..., A_s) with negative sum. |
|
|