need help with contest/1534/C

Revision en1, by skc3766, 2021-08-19 07:39:05

my solution is giving the wrong solution on test case 3. I don't know why?

Can someone help find the fault in the logic ?

https://mirror.codeforces.com/contest/1534/submission/126403032

regards.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English skc3766 2021-08-19 07:39:05 229 Initial revision (published)