unknown_0077's blog

By unknown_0077, history, 3 years ago, In English

for example, I have this question https://mirror.codeforces.com/problemset/problem/1692/E which can be easily solved by two pointers, It also contain a tag of binary search, so should I invest my time in thinking about who it will be done with the help of binary search?

please give me some suggestion thanks in advance

  • Vote: I like it
  • +6
  • Vote: I do not like it

| Write comment?
»
3 years ago, hide # |
 
Vote: I like it +13 Vote: I do not like it

The solution in official tutorial uses binary search.

https://mirror.codeforces.com/blog/entry/103883