TLE in E2. Three Blocks Palindrome (hard version) but complexity is O(N*200)

Revision en1, by sunrise321, 2020-04-17 08:39:30

Link to my source code https://ideone.com/q83VDg. I am getting TLE in test case 14 but my complexity if O(N*200). Please take a look and tell me if I am wrong.Link to the problem http://mirror.codeforces.com/contest/1335/problem/E2

Tags #div3

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English sunrise321 2020-04-17 08:39:30 302 Initial revision (published)