I am getting a WA on test 9 on this [DIV 1A](http://codeforces.net/contest/769/problem/C). Can someone please h↵
↵
Is there a problem with my 'poss' function or the very dfs function itselpf? ↵
↵
This is my [submission](http://codeforces.net/contest/769/submission/29958466).
↵
Is there a problem with my 'poss' function or the very dfs function itsel
↵
This is my [submission](http://codeforces.net/contest/769/submission/29958466).