Doubt regarding Problem C: Codeforces Round #717 (Div. 2)

Правка en1, от Mastermind222, 2021-04-21 21:40:30

Problem C

My Accepted Solution

According to me, the time complexity of the above code is O(sum*n*n)(sum= sum of the array passed to the function) and hence should result in a TLE verdict(Correct me if I am wrong).Help me in clearing this doubt. Thanks in advance. :)

Теги #doubt, #time complexity, #help me, #tle

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский Mastermind222 2021-04-21 21:40:30 447 Initial revision (published)