Getting TLE in light oj problem : 1110 — An Easy LCS

Revision en1, by _Muhammad, 2017-11-03 12:36:12

Topic : LCS My code is getting TLE for this test case: 1 weuwmwxxeajlsalokh dmnmklyoltvdpjzbkqe

How to solve this problem?

Question: http://lightoj.com/volume_showproblem.php?problem=1110

My code: https://ideone.com/WrNYdg

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English _Muhammad 2017-11-03 12:36:12 291 Initial revision (published)