Please subscribe to the official Codeforces channel in Telegram via the link ×

Optimisation needed for a dfs problem

Revision en3, by skpro19, 2017-09-07 12:40:48

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


  Rev. Lang. By When Δ Comment
en3 English skpro19 2017-09-07 12:40:48 23
en2 English skpro19 2017-09-07 11:28:10 12 Tiny change: 'his is my ![ ](http://c' -> 'his is my [submission](http://c'
en1 English skpro19 2017-09-07 11:27:34 232 Initial revision (published)