Why my solution got accepted in this DIV1 B:

Revision en1, by _MASTER__, 2023-01-23 21:49:39

my submission: https://mirror.codeforces.com/contest/126/submission/190247628 //

as far as I can see, My solution is O(n²) when there is no solution and it got AC. and the string length is ~~ 1e6

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English _MASTER__ 2023-01-23 21:49:39 236 Initial revision (published)