ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1393. Average Common Prefix

WA35
Posted by 👑TIMOFEY👑`~ 8 Feb 2025 15:16
if you use suff array, him maybe dont work without adding special sym in the end, because some suff have equal length and then if they equal, they can go in random order, this critical for kasai algorithm