PyAgni's blog

By PyAgni, history, 4 years ago, In English

B. Chloe and the sequence

I'm able to solve this problem using binary search. But some people have solved it using bitmasking alone. For example, check this solution by kmjp. Can someone please explain his solution or a similar one using bitmasking alone. Thanks.

Full text and comments »

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