SezoC's blog

By SezoC, history, 4 years 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)

Full text and comments »

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

By SezoC, history, 5 years ago, In English
  • Vote: I like it
  • 0
  • Vote: I do not like it