Error in the code/logic

Revision en2, by iit_ya_ism, 2020-03-17 17:41:45

I was doing question fill the baghaving submission 73494540 but error in coming in 275th test case and not able to find error by my own can someone find the logical error in the code , my submission logic is quite similar to that of editorial.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English iit_ya_ism 2020-03-17 17:41:45 59
en1 English iit_ya_ism 2020-03-17 17:39:43 283 Initial revision (published)