Wrong answer in Codeforces Round #678 (Div. 2)

Revision en1, by Carbon, 2020-10-24 21:16:28

Hello, can someone explain me in this question BINARY SEARCH for the test case 3 1 2 my answer is giving answer 2 but the judge says it should be 0. Can someone explain me this test case. thanks in advance. 96599228

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Carbon 2020-10-24 21:16:28 334 Initial revision (published)