Cody

Solution 1294120

Submitted on 17 Oct 2017
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   Fail
s1 = 'Jack and Jill went up the hill'; s2 = 'a a i e u e i'; assert(isequal(s2,refcn(s1)))

a = [] n = 30 s2 = [] a = 'a' s2 = 'a' s2 = 'a' s2 = 'a' s2 = 'a' a = 'aa' s2 = 'aa' s2 = 'aa' s2 = 'aa' s2 = 'aa' s2 = 'aa' a = 'aai' s2 = 'aai' s2 = 'aai' s2 = 'aai' s2 = 'aai' s2 = 'aai' a = 'aaie' s2 = 'aaie' s2 = 'aaie' s2 = 'aaie' s2 = 'aaie' a = 'aaieu' s2 = 'aaieu' s2 = 'aaieu' s2 = 'aaieu' s2 = 'aaieu' s2 = 'aaieu' a = 'aaieue' s2 = 'aaieue' s2 = 'aaieue' s2 = 'aaieue' a = 'aaieuei' s2 = 'aaieuei' s2 = 'aaieuei' s2 = 'aaieuei'

Assertion failed.

2   Fail
s1 = 'I don''t want to work. I just want to bang on the drum all day.'; s2 = 'I o'' a o o. I u a o a o e u a a.'; assert(isequal(s2,refcn(s1)))

a = [] n = 62 a = 'I' s2 = 'I' s2 = 'I' s2 = 'I' a = 'Io' s2 = 'Io' s2 = 'Io' a = 'Io'' s2 = 'Io'' s2 = 'Io'' s2 = 'Io'' s2 = 'Io'' a = 'Io'a' s2 = 'Io'a' s2 = 'Io'a' s2 = 'Io'a' s2 = 'Io'a' s2 = 'Io'a' a = 'Io'ao' s2 = 'Io'ao' s2 = 'Io'ao' s2 = 'Io'ao' a = 'Io'aoo' s2 = 'Io'aoo' s2 = 'Io'aoo' s2 = 'Io'aoo' a = 'Io'aoo.' s2 = 'Io'aoo.' s2 = 'Io'aoo.' a = 'Io'aoo.I' s2 = 'Io'aoo.I' s2 = 'Io'aoo.I' s2 = 'Io'aoo.I' a = 'Io'aoo.Iu' s2 = 'Io'aoo.Iu' s2 = 'Io'aoo.Iu' s2 = 'Io'aoo.Iu' s2 = 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