When I checked the submission of 301B, I found some accepted submissions failed in the following case:
input:
3 1000
5000
0 0
0 1
0 3
output:(which I think is correct)
1000
Am I correct? Is there anyway to update the test case and maybe rejudge acceptance?
Thanks
UPD Thanks Miras321. It turns out that I am wrong. I missed one constrain.