Cannot understand the mistake in the solution:

Revision en1, by jigyashugupta, 2024-01-19 19:07:58

Hii Everyone, I just needed help in understanding what went wrong in my solution to the given question: 1922D - Berserk Monsters

The submission fails for the second test case and is long enough not to be able to see the difference: 242453785

The Code:

The Code with added comments for understanding:
Tags need help, wrong answer, java, fail in test case, need guidance, help needed, i need help

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English jigyashugupta 2024-01-19 19:07:58 2830 Initial revision (published)