Can someone help me with this problem?

Revision en4, by MyHandleWasTaken, 2023-08-17 14:13:59

I'm getting TLE for my solution of this 616D - Longest k-Good Segment problem and here's my solution link: https://ideone.com/fork/mFxA7g How can I fix this? Also, here's my submission link: 219228830

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en4 English MyHandleWasTaken 2023-08-17 14:13:59 56 Tiny change: ' fix this?' -> ' fix this? Also, here's my submission link: [submission:219228830]'
en3 English MyHandleWasTaken 2023-08-17 14:09:23 21 Tiny change: 'rk/mFxA7g ' -> 'rk/mFxA7g \nHow can I fix this?'
en2 English MyHandleWasTaken 2023-08-17 14:08:49 15 Tiny change: 'lution of [this] problem ' -> 'lution of this [problem:616D] problem '
en1 English MyHandleWasTaken 2023-08-17 14:07:57 148 Initial revision (published)