|
|||||||||||||||
|
The number of n-k-special sets
We say that a set X of natural numbers is n-k-special if:
TaskWrite a program that:
InputIn the first line of the text file LIC.IN there are two natural numbers n and k separated by a single space, 1 <= n <= 100, 0 <= k <= 400.
OutputIn the first line of the text file LIC.OUT there should be written one non-negative integer, which equals the number of n-k-special sets for the given n and k.
ExampleFor the text file LIC.IN:5 6the correct solution is the text file LIC.OUT 3 |