i was too sleepy and decided to quickly solve a problem before sleeping so i submitted a quick code for this problem
https://codeforces.net/problemset/problem/1132/E
even tho my code is wrong it still passes all 90 tests but while i was trying to prove my solution i realized it was wrong and here is a counter example
889
0 0 0 0 0 0 120 105
here the the answer is 889 but my code outputs 888
iam just curious how its even possible to pass 90 tests with a wrong code
UPD : the test has been added to the problem and now the submission shows WA on that test