Пожалуйста, прочтите новое правило об ограничении использования AI-инструментов. ×

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

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

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

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

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

The solution in official tutorial uses binary search.

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