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

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

Please explain how to solve this problem. https://cses.fi/problemset/task/1110

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

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

this problem is asking the same thing as "implement a suffix array". but an nlogn suffix array will tle, so you can copy and paste a linear suffix array and get ac.

here is the linear suffix array