Cody

Problem 1626. CARDS PROBLEM

Solution 2808301

Submitted on 7 Aug 2020
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
all_cards=1; assert(nnz(CARDNUMBER(all_cards)==1:((2^4)-2-mod(13,2)))==1)

Output argument "my_answer" (and maybe others) not assigned during call to "CARDNUMBER". Error in Test1 (line 2) assert(nnz(CARDNUMBER(all_cards)==1:((2^4)-2-mod(13,2)))==1)

Suggested Problems

More from this Author17

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!