Cody

Solution 2015094

Submitted on 12 Nov 2019 at 5:16 by kranthi kumar
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(numeri_romani('+','I','I'),'II'))

n = 2

2   Pass
assert(isequal(numeri_romani('-','X','I'),'IX'))

n = 9

3   Pass
assert(isequal(numeri_romani('*','X','X'),'C'))

n = 100

4   Pass
assert(isequal(numeri_romani('+',numeri_romani('*','XXV','XX'),numeri_romani('+','IV','V')),'DIX'))

n = 500 n = 9 n = 509

Suggested Problems

More from this Author3