Hi everyone,
I am unable to find some idea to solve problem http://www.spoj.com/problems/CNTTREE/. I think that this is a dp problem. But no idea how can I find it’s states of dp. Could anybody help me with just the state part??
1 Like
This problem is a little bit difficult. I will try this questions.
1 Like
@s1m1_13 is this the answer you were looking for? I do not think so. And if you agree with me why would you check it as a correct answer?
Moreover @rakeshbubli143 has given appropriate answer and his answer is downvoted. This is not happening
2 Likes
We Must Leave the Questions like these to their common sense