ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1303. Minimal Coverage

solution hints
Posted by imaginary friend 17 Feb 2018 04:30
1) greedy works here, although it's not that much obvious how *correct* greedy should look like
2) 5th test case, that didn't pass for me:

12
-3 10
-2 8
-1 16
0 0

Edited by author 17.02.2018 04:30