Time complexity of Ruby Language

Revision en1, by SezoC, 2020-04-02 11:38:39

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

Tags ruby, time complexity, time limit exceeded

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English SezoC 2020-04-02 11:43:59 29
en1 English SezoC 2020-04-02 11:38:39 257 Initial revision (published)