1114F — Please, another Queries on Array?

Правка en1, от SevenDeadlySins, 2019-02-16 01:24:19

I would like to what makes these 2 solutions different for which first solution is getting TLE but second solution is able to solve the question in around 3.5 sec ? Link1 : 49967236 Link2 : 49899826

Теги 1114 f

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский SevenDeadlySins 2019-02-16 01:24:19 267 Initial revision (published)