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

Автор my_lie_in_april, история, 5 лет назад, По-английски

Link to the problem: https://codeforces.me/problemset/problem/1622/D

In this problem's editorial, they mention that there is an O(N) solution that work with this problem, and now I'm curious to learn it. Can anyone help me ?

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