Please help me debug this piece of code(WA)

Правка en1, от prat945, 2021-07-28 08:41:31

Hello everyone, please help me debug this code (https://codeforces.com/contest/1539/submission/123994140). I have implemented this using two pointer method, and I believe that the logic is correct. I have also used a random test case generator and compared my solution with an accepted one , but to no avail. Any help/suggestion/support on this is greatly appreciated. Any general debugging tips are also appreciated. Thanks!

Теги #help error, #two pointers

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский prat945 2021-07-28 08:41:31 471 Initial revision (published)