Help: Facing Runtime Error in a Problem

Revision en1, by krow_drah, 2022-09-17 08:17:23

Hi, I was trying to solve 1394A - Boboniu Chats with Du. I think my solution is correct as it is working fine in most of Test-cases but in the Test Case 7 its giving Runtime Error. I tried different things but i am not able to know what is wrong in my code. Submission Link : 172417406

Can you please tell me where i am doing wrong.

Tags greedy, runtime error, dp

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English krow_drah 2022-09-17 08:17:23 384 Initial revision (published)