Not able to figure out the wrong part in my solution for Codeforces Round #619(Div. 2B)

Revision en1, by levi.ackerman1732, 2020-02-14 16:02:32

Hello all,

1301B - Motarack's Birthday

I have read the editorial and implemented the same. My code fails in some hidden test case. If any of you could provide some insight as to what I am doing wrong I would be grateful.

My submission: 71058284

I am extremely sorry if I am asking something that is fairly obvious. Thank you for your time.

Tags #binary search, #greedy

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English levi.ackerman1732 2020-02-14 16:02:32 447 Initial revision (published)