Please subscribe to the official Codeforces channel in Telegram via the link https://t.me/codeforces_official. ×

MarioYC's blog

By MarioYC, 13 years ago, In English
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 :)
  • Vote: I like it
  • +3
  • Vote: I do not like it