In yesterday's Div2-C "upper_bound" gets accepted but "lower_bound" gives wrong answer

Revision en1, by cooldudeperfect, 2023-04-03 08:40:39

200417545 This is the submission that I made during the contest which got accepted on pretests but gave wrong answer on main test 15.

200514283 I made this submission after the contest and the only change I did was to change lower_bound to upper_bound and it got accepted.

If someone can figure out what is going wrong with lower_bound that would be awesome.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English cooldudeperfect 2023-04-03 08:40:39 476 Initial revision (published)