Help in Goodbye 2019 problem F (Awesome substrings)

Revision en1, by bully....maguire, 2019-12-31 11:41:48

I read the editorial of this problem . I got some idea but did not understood it completely .Can someone help me explaining it (will be good if explained using example) .

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en3 English bully....maguire 2019-12-31 16:00:54 28 Tiny change: 'orces.com/contest/1270/problem/F) of this ' -> 'orces.com/blog/entry/72611) of this '
en2 English bully....maguire 2019-12-31 11:42:51 100
en1 English bully....maguire 2019-12-31 11:41:48 224 Initial revision (published)