Boortsog's blog

By Boortsog, history, 8 months ago, In English

Today I tried to solve this 219C - Color Stripe using ruby and my code's time complexity was 26*n but, I got a TLE (Time Limit Exceeded). Could someone explain to me the time complexity of ruby language? (My code:75217241)

Read more »

 
 
 
 
  • Vote: I like it
  • +2
  • Vote: I do not like it

By Boortsog, history, 19 months ago, In English
 
 
 
 
  • Vote: I like it
  • 0
  • Vote: I do not like it