Cody

# Problem 586. All Humans are Created Equal - Pareto Equality

Solution 199331

Submitted on 1 Feb 2013 by Alfonso Nieto-Castanon
• Size: 9
• This is the leading solution.
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
y_correct = true; assert(isequal(ispareto({1,'foo',40},{0,'bar',30}),y_correct)) y_correct = false; assert(isequal(ispareto({-2,-10,'z'},{0,-9,'t'}),y_correct)) y_correct = false; assert(isequal(ispareto({-2,-10,-2},{0,5,6},{0,2,30}),y_correct)) y_correct = true; assert(isequal(ispareto({1,'foo',40},{0,'bar',30},{10,'zoo',-1}),y_correct))

[Warning: Function /users/msssystem10/assert.m has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.] [> In ispareto at 2 In verifyCode>evaluateCode at 227 In verifyCode at 40 In fevalJSON at 14 In workspacefunc at 7] [Warning: Function /users/msssystem10/assert.m has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.] [> In ispareto at 2 In verifyCode>evaluateCode at 227 In verifyCode at 40 In fevalJSON at 14 In workspacefunc at 7] [Warning: Function /users/msssystem10/assert.m has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.] [> In ispareto at 2 In verifyCode>evaluateCode at 227 In verifyCode at 40 In fevalJSON at 14 In workspacefunc at 7] [Warning: Function /users/msssystem10/assert.m has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.] [> In ispareto at 2 In verifyCode>evaluateCode at 227 In verifyCode at 40 In fevalJSON at 14 In workspacefunc at 7]

### Community Treasure Hunt

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

Start Hunting!