Please subscribe to the official Codeforces channel in Telegram via the link https://t.me/codeforces_official. ×

noob_master's blog

By noob_master, history, 5 years ago, In English

How to form a k-nary tree with x leaf nodes.
Is there any way to find whether a k-nary tree(every node has either k child or it is a leaf node) which have x leaf nodes exists or not. If exits then how to find it.

Full text and comments »

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