Last div-3 F problem

Revision en1, by Please_Read, 2022-06-09 04:06:42

In problem F, the rotation of string will cost o(n^2) time. it's ok for this problem. But I want to know is there any o(n) approach to do this work?

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Please_Read 2022-06-09 04:06:42 172 Initial revision (published)