Please read the new rule regarding the restriction on the use of AI tools. ×

unknown_0077's blog

By unknown_0077, history, 13 months ago, In English

for example, I have this question https://codeforces.me/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?
»
13 months ago, # |
  Vote: I like it +13 Vote: I do not like it

The solution in official tutorial uses binary search.

https://codeforces.me/blog/entry/103883