Due to technical reasons Codeforces may be unavailable on April 21st from 01:00-07:00 (MSK). ×

Help with counting problem

Revision en1, by geniucos, 2016-03-24 16:37:58

I've been thinking for about 2 months at a problem and I haven't manage to find a solution, so I've decided to ask for your help. The problem is pretty nice. It asks for the number of trees(2 trees are considered different if they are not isomorphs) with N vertices and diameter D. Here you have the link . It was given in Polish Algorithmic Engagements 2008 at the final round and as far as I know there are no written solutions for this kind of contest.


  Rev. Lang. By When Δ Comment
en1 English geniucos 2016-03-24 16:37:58 526 Initial revision (published)