|
|
Дайте тесты, пожалуйста 7 6 -4 0 -1 -5 7 -10 Answer: 21 It's strange that it has a tag "DP" as well. Give some tests, please I hope, the following will help. I've found it using a random generator and a brute force checker. 7 2 -5 -4 -1 -1 -5 5 Answer: 13 |
|
|