Cody

Solution 1720238

Submitted on 4 Feb 2019 by Nikolaos Nikolaou
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(vect('x*x'),'x.*x'))

t1 = 2 x = 'x.*x' t2 = [] t3 = [] y = 'x.*x'

2   Pass
assert(isequal(vect('x^y'),'x.^y'))

t1 = [] t2 = 2 x = 'x.^y' t3 = [] y = 'x.^y'

3   Pass
assert(isequal(vect('x/z'),'x./z'))

t1 = [] t2 = [] t3 = 2 x = 'x./z' y = 'x./z'

4   Pass
assert(isequal(vect('(x*y)/z^w'),'(x.*y)./z.^w'))

t1 = 3 x = '(x.*y)/z^w' t2 = 9 x = '(x.*y)/z.^w' t3 = 7 x = '(x.*y)./z.^w' y = '(x.*y)./z.^w'