Not sure why I am getting TLE

Правка en1, от supermarine, 2020-12-14 16:55:55

I solved this question 1461D using a brute force method to find all valid sums in the array but one of my submission which seems correct to me doesnt seem to be working while another submission which is quite similar but just involves splitting and using it in a new vector gives a correct answer. Please help ?

Теги #tle, 1461

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский supermarine 2020-12-14 16:55:55 509 Initial revision (published)