Getting TLE on a dfs problem

Правка en1, от skpro19, 2017-09-07 11:27:34

I am getting a TLE on this problem using DFS. This is my  . Can someone suggest some optimizations?

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en3 Английский skpro19 2017-09-07 12:40:48 23
en2 Английский skpro19 2017-09-07 11:28:10 12 Tiny change: 'his is my ![ ](http://c' -> 'his is my [submission](http://c'
en1 Английский skpro19 2017-09-07 11:27:34 232 Initial revision (published)