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

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

Hello,
I was trying to solve SPOJ Distinct Substrings (DISUBSTR) using this algorithm. However, the lcp is not correct for the string "CCCCC". (see here)
Can anyone tell me why the lcp in output line 4 is 0? Thanks.

Полный текст и комментарии »

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