Блог пользователя Ferrarixxx

Автор Ferrarixxx, история, 5 лет назад, По-английски

Question Link: https://mirror.codeforces.com/contest/1330/problem/B

My Solution Link: https://mirror.codeforces.com/contest/1330/submission/79321519

Applied Simple binary search and 2 pointer method to find ans and am getting right ans for the sample test cases I dont know where the flaw is in my code that it gives Wrong output for the extreme corner test case -> Test Case 3

I have commented my code , its very easy to understand ,

Please find my flaw in my code or approach.

Thanks in Advance.

  • Проголосовать: нравится
  • 0
  • Проголосовать: не нравится

»
5 лет назад, # |
Rev. 2   Проголосовать: нравится 0 Проголосовать: не нравится

why are you using bin function?