coder__12345's blog

By coder__12345, history, 11 months ago, In English

Problem Link: https://codeforces.net/edu/course/2/lesson/6/2/practice/contest/283932/problem/A

Accepted Code
Not Accepted Code

The only change in the two code is the value being assigned to l, when i normally implement binary search i use it like in the not accepted one but why in this problem its giving wrong answer?

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it