Doubt in a testcase of Div 2C problem

Правка en1, от skpro19, 2017-09-28 09:32:09

This is the problem .

According to the accepted solution of other coders, the following test case gives a "Yes". But, shouldn't it give a "No" ?

6 1 2 1 1 1 1 1 1 6

Any help would be really appreciated.

Теги two pointers, dynamic programming

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский skpro19 2017-09-28 09:32:09 296 Initial revision (published)