Ways 1
https://www.hackerrank.com/contests/codenection-2021-open-category-finals/challenges/ways-1-1
Question
There is a wire of integer length lying flat. We will cut this wire at 11 integer positions to divide it into 12 smaller wires. Here, each of the 12 resulting wires must have a positive integer length. Find the number of ways to do this division. It can be proved that the answer is less than .
Input Format
L
Constraints
Output Format
A single integer, the number of ways to divide the wire.
Sample Inputs:
Last updated