Use of vector gave TLE... why?

Правка en1, от TRY_TO_BE8T_ME, 2019-06-26 22:42:55

Hello,

I have a query which i faced in Round #570 question D. In that I had used vector of defined size (vector a(n))firstly but it gave me TLE and then after changing the vector to simple array (long long int a[n]) then it passed all the test with the same logic and code just with this change in the code (vector to simple array).

So I want to know why did use of vector gave me TLE?

Thanks in advance.

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский TRY_TO_BE8T_ME 2019-06-26 22:42:55 458 Initial revision (published)