Good day to you all.
for a while now I've been trying to debug my solution for this problem 733C - Эпидемия в Монстрополисе but I haven't figured it out...I got WA on test 64 and the test data is too huge to see where I went wrong I was hoping if you guys could help me out I'd be very grateful.
The link to my code 22018901.
Thank you for reading.
:)
Try this test:
5
2 2 1 1 2
1
8
My suggestion: as soon as you finish the "ok", return
Thank you very much man for your help it really means a lot.
just adding a return statment solves the problem.
:)