Today I tried to solve this 219C - Цветная полоска 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)
Today I tried to solve this 219C - Цветная полоска 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)
Can I enter Forethought Future Cup - Final Round (Onsite Finalists Only) ? is there any requerments?