wrong solution passes
Разница между en3 и en4, 93 символ(ов) изменены
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↵


here the the answer is 889 but my code outputs 888↵


[submission:271074483]↵

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

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en4 Английский Axial-Tilted 2024-07-18 00:36:56 93
en3 Английский Axial-Tilted 2024-07-17 21:50:11 47
en2 Английский Axial-Tilted 2024-07-17 21:49:45 15
en1 Английский Axial-Tilted 2024-07-17 21:49:07 574 Initial revision (published)