Help needed to figure out the error in 1401D Problem

Revision en1, by Mr.Doap, 2020-08-22 08:56:54

My solution seems to be the same solution as the authors but I am getting a WA.Both the solution and my codes seem to be similar Somebody please help me out in figuring the error in my submission

Here is a link to my submission: https://codeforces.com/contest/1401/submission/90597120

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Mr.Doap 2020-08-22 08:56:54 339 Initial revision (published)