Problem 363. magic solver

Solution 139641

Submitted on 16 Sep 2012 by Prateep Mukherjee
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
%% assert(isequal(magicsolver,true)&~mtree('magicsolver.m','-file').count)

[Warning: Function /users/msssystem7/assert.m has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.] [> In magicsolver at 5 In verifyCode>evaluateCode at 189 In verifyCode at 40 In fevalJSON at 14]

Suggested Problems

More from this Author38

Community Treasure Hunt

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

Start Hunting!