still not getting , Why TLE on one approach and AC on the same .

Правка en1, от vintage_Petr_Mitrichev, 2019-03-23 02:47:22

AC Solution 1

TLE SOL

the first solution which gets ac , also recur for all the four case , and my 2nd solution also recur for all four cases .

But why i am getting tle at TC 6 , is there something i am missing , or something which is increasing the time complexity of 2nd sol.

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский vintage_Petr_Mitrichev 2019-03-23 02:48:32 38 Tiny change: 'd sol.\n\n' -> 'd sol.\n\nsomeone please tell the mistake . \n\n'
en1 Английский vintage_Petr_Mitrichev 2019-03-23 02:47:22 471 Initial revision (published)