### 13039 - Fibonacci Triangle

Posted:

**Wed Dec 30, 2015 9:15 am**Didn't quite understand this problem.

Should all sticks be used?

In the first sample input, 1 6 2

Does it mean "2 3 3 3 3 3 3 5 5" cm sticks?

I found

3 3 2

5 5 3

5 5 2

3 3 5, 4 possible combinations.

Why the answer is 3?

Thanks.

Should all sticks be used?

In the first sample input, 1 6 2

Does it mean "2 3 3 3 3 3 3 5 5" cm sticks?

I found

3 3 2

5 5 3

5 5 2

3 3 5, 4 possible combinations.

Why the answer is 3?

Thanks.