Please read the new rule regarding the restriction on the use of AI tools. ×

Codeforces Beta Round #94 Problem B

Revision en1, by L.O, 2017-10-10 08:25:40

Is there a better suffix array solution for this problem ?
This is a solution, but I think is very inefficient
Is there a better solution with suffix array? there is not editorial for this round
I hope someone can help me!
Thanks!

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English L.O 2017-10-10 10:11:15 10
en1 English L.O 2017-10-10 08:25:40 392 Initial revision (published)