第一组:
输入:
2 1
1 20 20
答案:
1
第二组:
输入:
20 1
11 25 25
答案:
10
原因:DP时没有处理能量小于零和其他一些边界情况。
被hack题解:
https://www.luogu.com.cn/article/geugz8ei
https://www.luogu.com.cn/article/l9boy4w1
https://www.luogu.com.cn/article/h45o8vt0
https://www.luogu.com.cn/article/85tvi5bf
https://www.luogu.com.cn/article/2ox3panl
https://www.luogu.com.cn/article/q67o81nh
https://www.luogu.com.cn/article/0ynbm542
https://www.luogu.com.cn/article/wn7g1qk6
https://www.luogu.com.cn/article/udijx7fu
https://www.luogu.com.cn/article/thsmwimz