Cody

Solution 734512

Submitted on 13 Sep 2015 by Binbin Qi
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(str2rgb('y'),[1 1 0]))

Prvwj2nlpw3npnq8ana8azqmazqmazqmazqmazqmazqmazqmazqmazqmazqna8wba8wba8wba8wba8wba8wba8wba8wba8wba8wdqpadqpadqpadqpadqpadqpadqpadqpadqpadqpaa0dwc6zh8bl3v43veft7waaaaasuvork5cyii="}
2   Pass
%% assert(isequal(str2rgb('m'),[1 0 1]))

Prvwj2nlpw3npnq8ana8azqmazqmazqmazqmazqmazqmazqmazqmazqmazqna8wba8wba8wba8wba8wba8wba8wba8wba8wba8wdqpadqpadqpadqpadqpadqpadqpadqpadqpadqpaa0dwc6zh8bl3v43veft7waaaaasuvork5cyii="}
3   Pass
%% assert(isequal(str2rgb('c'),[0 1 1]))

Prvwj2nlpw3npnq8ana8azqmazqmazqmazqmazqmazqmazqmazqmazqmazqna8wba8wba8wba8wba8wba8wba8wba8wba8wba8wdqpadqpadqpadqpadqpadqpadqpadqpadqpadqpaa0dwc6zh8bl3v43veft7waaaaasuvork5cyii="}
4   Pass
%% assert(isequal(str2rgb('r'),[1 0 0]))

Prvwj2nlpw3npnq8ana8azqmazqmazqmazqmazqmazqmazqmazqmazqmazqna8wba8wba8wba8wba8wba8wba8wba8wba8wba8wdqpadqpadqpadqpadqpadqpadqpadqpadqpadqpaa0dwc6zh8bl3v43veft7waaaaasuvork5cyii="}
5   Pass
%% assert(isequal(str2rgb('g'),[0 1 0]))

Prvwj2nlpw3npnq8ana8azqmazqmazqmazqmazqmazqmazqmazqmazqmazqna8wba8wba8wba8wba8wba8wba8wba8wba8wba8wdqpadqpadqpadqpadqpadqpadqpadqpadqpadqpaa0dwc6zh8bl3v43veft7waaaaasuvork5cyii="}
6   Pass
%% assert(isequal(str2rgb('b'),[0 0 1]))

Prvwj2nlpw3npnq8ana8azqmazqmazqmazqmazqmazqmazqmazqmazqmazqna8wba8wba8wba8wba8wba8wba8wba8wba8wba8wdqpadqpadqpadqpadqpadqpadqpadqpadqpadqpaa0dwc6zh8bl3v43veft7waaaaasuvork5cyii="}
7   Pass
%% assert(isequal(str2rgb('w'),[1 1 1]))

Prvwj2nlpw3npnq8ana8azqmazqmazqmazqmazqmazqmazqmazqmazqmazqna8wba8wba8wba8wba8wba8wba8wba8wba8wba8wdqpadqpadqpadqpadqpadqpadqpadqpadqpadqpaa0dwc6zh8bl3v43veft7waaaaasuvork5cyii="}
8   Pass
%% assert(isequal(str2rgb('k'),[0 0 0]))

Prvwj2nlpw3npnq8ana8azqmazqmazqmazqmazqmazqmazqmazqmazqmazqna8wba8wba8wba8wba8wba8wba8wba8wba8wba8wdqpadqpadqpadqpadqpadqpadqpadqpadqpadqpaa0dwc6zh8bl3v43veft7waaaaasuvork5cyii="}
9   Fail