Why is my Solution giving TLE in subtask 2?

Правка en1, от newbie_in_world, 2019-02-11 04:56:59

Problem:-Minion Chef and Bananas

My Solution:-Ideone

My solution's time complexity is O(n*log(max element in arr))

Why is this solution Giving TLE in subtask2?

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский newbie_in_world 2019-02-11 04:56:59 288 Initial revision (published)