Codeforces Round 1133 (Div. 1, Div. 2) is coming soon! Register here. ×

MaksatNIS9's blog

By MaksatNIS9, history, 6 years ago, In English

Hello Codeforces! How can I count the number of paths with length less than k in a tree? Please provide a solution without centroid decomposition. Thank you in advance!

Full text and comments »

  • Vote: I like it
  • -6
  • Vote: I do not like it