Cody

Solution 1769296

Submitted on 2 Apr 2019 by Piotr Lesniewski
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
x = 1; y_correct = 2; assert(isequal(OctoberfestFestival(x),y_correct))

teraz = 1

2   Pass
x = 5; y_correct = 20; assert(isequal(OctoberfestFestival(x),y_correct))

teraz = 1 teraz = 2 teraz = 3 teraz = 5 teraz = 8

3   Pass
x = 10; y_correct = 232; assert(isequal(OctoberfestFestival(x),y_correct))

teraz = 1 teraz = 2 teraz = 3 teraz = 5 teraz = 8 teraz = 13 teraz = 21 teraz = 34 teraz = 55 teraz = 89