Single Test case giving correct answer but giving all the test cases together i.e on the online judge gives wrong answer for some test case that were giving correct ans when given single.

Revision en1, by Achha...ji, 2020-12-08 13:35:11

I am stuck around it and unable to figure out the problem ....If anyone who faced this issue or knows the solution for it ..reply in the comments,it will be really helpful. The problem is from Codeforces Educational round 95 div2 .....Here's the Problem and this is my solution implemented using Dynamic programming.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Achha...ji 2020-12-08 13:35:11 614 Initial revision (published)