iandioch/solutions

Wrong test case

Thvnvtos opened this issue · 0 comments

On kattis problem : Bank
Test case :
5 4
1200 1
2500 3
2000 2
2500 3
1400 4
your code outputs 8200, where it should output 8400 :
t = 0 , pick 1400
t = 1 , pick 2000
t = 2 , pick 2500
t = 3 , pick 2500