Cody

Solution 1994178

Submitted on 28 Oct 2019 by Gianvito Sylos Labini
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
s1 = 'Jack and Jill went up the hill'; s2 = 'a a i e u e i'; assert(isequal(s2,refcn(s1)))

s2 = ' ack and Jill went up the hill' s2 = ' a k and Jill went up the hill' s2 = ' a and Jill went up the hill' s2 = ' a a d Jill went up the hill' s2 = ' a a Jill went up the hill' s2 = ' a a ill went up the hill' s2 = ' a a i l went up the hill' s2 = ' a a i went up the hill' s2 = ' a a i ent up the hill' s2 = ' a a i e t up the hill' s2 = ' a a i e up the hill' s2 = ' a a i e u the hill' s2 = ' a a i e u he hill' s2 = ' a a i e u e hill' s2 = ' a a i e u e ill' s2 = ' a a i e u e i l' s2 = ' a a i e u e i ' s2 = 'a a i e u e i'

2   Pass
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)))

s2 = 'I on't want to work. I just want to bang on the drum all day.' s2 = 'I o 't want to work. I just want to bang on the drum all day.' s2 = 'I o ' want to work. I just want to bang on the drum all day.' s2 = 'I o ' ant to work. I just want to bang on the drum all day.' s2 = 'I o ' a t to work. I just want to bang on the drum all day.' s2 = 'I o ' a to work. I just want to bang on the drum all day.' s2 = 'I o ' a o work. I just want to bang on the drum all day.' s2 = 'I o ' a o ork. I just want to bang on the drum all day.' s2 = 'I o ' a o o k. I just want to bang on the drum all day.' s2 = 'I o ' a o o . I just want to bang on the drum all day.' s2 = 'I o ' a o o . I ust want to bang on the drum all day.' s2 = 'I o ' a o o . I u t want to bang on the drum all day.' s2 = 'I o ' a o o . I u want to bang on the drum all day.' s2 = 'I o ' a o o . I u ant to bang on the drum all day.' s2 = 'I o ' a o o . I u a t to bang on the drum all day.' s2 = 'I o ' a o o . I u a to bang on the drum all day.' s2 = 'I o ' a o o . I u a o bang on the drum all day.' s2 = 'I o ' a o o . I u a o ang on the drum all day.' s2 = 'I o ' a o o . I u a o a g on the drum all day.' s2 = 'I o ' a o o . I u a o a on the drum all day.' s2 = 'I o ' a o o . I u a o a o the drum all day.' s2 = 'I o ' a o o . I u a o a o he drum all day.' s2 = 'I o ' a o o . I u a o a o e drum all day.' s2 = 'I o ' a o o . I u a o a o e rum all day.' s2 = 'I o ' a o o . I u a o a o e um all day.' s2 = 'I o ' a o o . I u a o a o e u all day.' s2 = 'I o ' a o o . I u a o a o e u a l day.' s2 = 'I o ' a o o . I u a o a o e u a day.' s2 = 'I o ' a o o . I u a o a o e u a ay.' s2 = 'I o ' a o o . I u a o a o e u a a .' s2 = 'I o' a o o. I u a o a o e u a a.'