Cody

Solution 24493

Submitted on 2 Feb 2012
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

This solution is outdated. To rescore this solution, log in.

Test Suite

Test Status Code Input and Output
1   Fail
%% assert(isequal(numeri_romani('+','I','I'),'II'))
Error: Attempted to access fcn(73,73); index out of bounds because numel(fcn)=1.
2   Fail
%% assert(isequal(numeri_romani('-','X','I'),'IX'))
Error: Attempted to access fcn(88,73); index out of bounds because numel(fcn)=1.
3   Fail
%% assert(isequal(numeri_romani('+',numeri_romani('*','XXV','XX'),numeri_romani('+','IV','V')),'DIX'))
Error: Index exceeds matrix dimensions.