from AtCoder Library Practice Contest ACLPC_I

I - Number of Substrings

  • image
  • The value of LCP is ā€œthe number of identical substringsā€, so subtract it from the number of all substrings

This page is auto-translated from [/nishio/ACLPC I](https://scrapbox.io/nishio/ACLPC I) using DeepL. If you looks something interesting but the auto-translated English is not good enough to understand it, feel free to let me know at @nishio_en. Iā€™m very happy to spread my thought to non-Japanese readers.