Пожалуйста, подпишитесь на официальный канал Codeforces в Telegram по ссылке https://t.me/codeforces_official. ×

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

Автор MarioYC, 13 лет назад, По-английски
Link

This problems asks that given the indices of the resulting suffix array of a string, we must find some string which gives us this result.

I would appreciate some hint for this problem, maybe some greedy algorithm works :)
  • Проголосовать: нравится
  • +3
  • Проголосовать: не нравится