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://codeforces.me/contest/1335/problem/E2
TLE in E2. Three Blocks Palindrome (hard version) but complexity is O(N*200)
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://codeforces.me/contest/1335/problem/E2