Cody

Solution 550278

Submitted on 27 Dec 2014
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   Fail
%% assert(isequal(unique_dice(2,6),21))

Error: Assertion failed.

2   Fail
%% assert(isequal(unique_dice(6,8),1716))

Error: Assertion failed.

3   Fail
%% assert(isequal(unique_dice(10,12),352716))

Error: Assertion failed.

4   Fail
%% assert(isequal(unique_dice(20,20),68923264410))

Error: Assertion failed.

5   Fail
%% assert(isequal(unique_dice(4,100),4421275))

Error: Assertion failed.

6   Fail
%% assert(isequal(unique_dice(100,4),176851))

Error: Assertion failed.

7   Fail
%% x=ceil(10000*rand); assert(isequal(unique_dice(1,x),x))

Error: Assertion failed.