Cody

Solution 1486135

Submitted on 10 Apr 2018 by Garrett Pesi
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 = 4; y = 3; y_correct = 108; assert(isequal(findAnnoyingPopulation(x,y),y_correct))

x = 12 y = 12 x = 36 y = 36 x = 108 y = 108

2   Pass
x = 6; y = 2; y_correct = 54; assert(isequal(findAnnoyingPopulation(x,y),y_correct))

x = 18 y = 18 x = 54 y = 54

3   Pass
x = 7; y = 5; y_correct = 1701; assert(isequal(findAnnoyingPopulation(x,y),y_correct))

x = 21 y = 21 x = 63 y = 63 x = 189 y = 189 x = 567 y = 567 x = 1701 y = 1701