| 
 | 
back to boardTime Limit Exceeded What causes TLE #21 what is the trick? Re: Time Limit Exceeded I have the same problem. But I can't understand. Is such test correct? //-------------- 7 3 2 1 3 3 3 4 //-------------- I think it's wrong. Am I right? Re: Time Limit Exceeded Use sort, then find longest sequence. Re: Time Limit Exceeded It's correct. The answer is 3.  |  
  | 
|