i was too sleepy and decided to quickly solve a problem before sleeping so i submitted a quick code for this problem ↵
↵
https://mirror.codeforces.com/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↵
↵
↵
hereisthe the answer is 889 but my code outputs 888↵
↵
↵
[submission:https://mirror.codeforces.com/contest/1132/submission/271074483]↵
↵
iam just curious how its even possible to pass 90 tests with a wrong code
↵
https://mirror.codeforces.com/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
↵
↵
[submission:https://mirror.codeforces.com/contest/1132/submission/271074483]↵
↵
iam just curious how its even possible to pass 90 tests with a wrong code