527 Div 3 problem C

Revision en1, by cristi_cretan, 2018-12-18 21:52:55

Can someone tell me what's wrong with my solution on problem C div3 contest 527? I tried to form the string and did it right in all the examples I could think of, and then trying to check if the query it's a suffix or preffix or if it can be both. Submission: https://codeforces.com/contest/1092/submission/47232626

Tags prefix, #div3, #strings, suffix

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English cristi_cretan 2018-12-18 21:52:55 334 Initial revision (published)