Пожалуйста, подпишитесь на официальный канал Codeforces в Telegram по ссылке https://t.me/codeforces_official. ×

Time complexity of Ruby Language

Правка en1, от 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

Теги ruby, time complexity, time limit exceeded

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский SezoC 2020-04-02 11:43:59 29
en1 Английский SezoC 2020-04-02 11:38:39 257 Initial revision (published)