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

Автор unknown_0077, история, 3 года назад, По-английски

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

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

»
3 года назад, скрыть # |
 
Проголосовать: нравится +13 Проголосовать: не нравится

The solution in official tutorial uses binary search.

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