Cody

Solution 1764201

Submitted on 27 Mar 2019 by Oliver Waddington
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
x = 'Hello World!'; y_correct = 'Ifmmp Xpsme!'; assert(isequal(si(x),y_correct))

x = 24 53 60 60 63 -16 39 63 66 60 52 -15 x = 73 53 60 60 63 -16 39 63 66 60 52 -15 x = 73 102 60 60 63 -16 39 63 66 60 52 -15 x = 73 102 109 60 63 -16 39 63 66 60 52 -15 x = 73 102 109 109 63 -16 39 63 66 60 52 -15 x = 73 102 109 109 112 -16 39 63 66 60 52 -15 x = 73 102 109 109 112 32 39 63 66 60 52 -15 x = 73 102 109 109 112 32 88 63 66 60 52 -15 x = 73 102 109 109 112 32 88 112 66 60 52 -15 x = 73 102 109 109 112 32 88 112 115 60 52 -15 x = 73 102 109 109 112 32 88 112 115 109 52 -15 x = 73 102 109 109 112 32 88 112 115 109 101 -15 x = 73 102 109 109 112 32 88 112 115 109 101 33 y = 'Ifmmp Xpsme!'

2   Pass
x = 'Can I help you?'; y_correct = 'Dbo J ifmq zpv?'; assert(isequal(si(x),y_correct))

x = 19 49 62 -16 25 -16 56 53 60 64 -16 73 63 69 15 x = 68 49 62 -16 25 -16 56 53 60 64 -16 73 63 69 15 x = 68 98 62 -16 25 -16 56 53 60 64 -16 73 63 69 15 x = 68 98 111 -16 25 -16 56 53 60 64 -16 73 63 69 15 x = 68 98 111 32 25 -16 56 53 60 64 -16 73 63 69 15 x = 68 98 111 32 74 -16 56 53 60 64 -16 73 63 69 15 x = 68 98 111 32 74 32 56 53 60 64 -16 73 63 69 15 x = 68 98 111 32 74 32 105 53 60 64 -16 73 63 69 15 x = 68 98 111 32 74 32 105 102 60 64 -16 73 63 69 15 x = 68 98 111 32 74 32 105 102 109 64 -16 73 63 69 15 x = 68 98 111 32 74 32 105 102 109 113 -16 73 63 69 15 x = 68 98 111 32 74 32 105 102 109 113 32 73 63 69 15 x = 68 98 111 32 74 32 105 102 109 113 32 122 63 69 15 x = 68 98 111 32 74 32 105 102 109 113 32 122 112 69 15 x = 68 98 111 32 74 32 105 102 109 113 32 122 112 118 15 x = 68 98 111 32 74 32 105 102 109 113 32 122 112 118 63 y = 'Dbo J ifmq zpv?'

3   Pass
x = 'Mary had a liitle lamb.'; y_correct = 'Nbsz ibe b mjjumf mbnc.'; assert(isequal(si(x),y_correct))

x = 29 49 66 73 -16 56 49 52 -16 49 -16 60 57 57 68 60 53 -16 60 49 61 50 -2 x = 78 49 66 73 -16 56 49 52 -16 49 -16 60 57 57 68 60 53 -16 60 49 61 50 -2 x = 78 98 66 73 -16 56 49 52 -16 49 -16 60 57 57 68 60 53 -16 60 49 61 50 -2 x = 78 98 115 73 -16 56 49 52 -16 49 -16 60 57 57 68 60 53 -16 60 49 61 50 -2 x = 78 98 115 122 -16 56 49 52 -16 49 -16 60 57 57 68 60 53 -16 60 49 61 50 -2 x = 78 98 115 122 32 56 49 52 -16 49 -16 60 57 57 68 60 53 -16 60 49 61 50 -2 x = 78 98 115 122 32 105 49 52 -16 49 -16 60 57 57 68 60 53 -16 60 49 61 50 -2 x = 78 98 115 122 32 105 98 52 -16 49 -16 60 57 57 68 60 53 -16 60 49 61 50 -2 x = 78 98 115 122 32 105 98 101 -16 49 -16 60 57 57 68 60 53 -16 60 49 61 50 -2 x = 78 98 115 122 32 105 98 101 32 49 -16 60 57 57 68 60 53 -16 60 49 61 50 -2 x = 78 98 115 122 32 105 98 101 32 98 -16 60 57 57 68 60 53 -16 60 49 61 50 -2 x = 78 98 115 122 32 105 98 101 32 98 32 60 57 57 68 60 53 -16 60 49 61 50 -2 x = 78 98 115 122 32 105 98 101 32 98 32 109 57 57 68 60 53 -16 60 49 61 50 -2 x = 78 98 115 122 32 105 98 101 32 98 32 109 106 57 68 60 53 -16 60 49 61 50 -2 x = 78 98 115 122 32 105 98 101 32 98 32 109 106 106 68 60 53 -16 60 49 61 50 -2 x = 78 98 115 122 32 105 98 101 32 98 32 109 106 106 117 60 53 -16 60 49 61 50 -2 x = 78 98 115 122 32 105 98 101 32 98 32 109 106 106 117 109 53 -16 60 49 61 50 -2 x = 78 98 115 122 32 105 98 101 32 98 32 109 106 106 117 109 102 -16 60 49 61 50 -2 x = 78 98 115 122 32 105 98 101 32 98 32 109 106 106 117 109 102 32 60 49 61 50 -2 x = 78 98 115 122 32 105 98 101 32 98 32 109 106 106 117 109 102 32 109 49 61 50 -2 x = 78 98 115 122 32 105 98 101 32 98 32 109 106 106 117 109 102 32 109 98 61 50 -2 x = 78 98 115 122 32 105 98 101 32 98 32 109 106 106 117 109 102 32 109 98 110 50 -2 x = 78 98 115 122 32 105 98 101 32 98 32 109 106 106 117 109 102 32 109 98 110 99 -2 x = 78 98 115 122 32 105 98 101 32 98 32 109 106 106 117 109 102 32 109 98 110 99 46 y = 'Nbsz ibe b mjjumf mbnc.'

Suggested Problems

More from this Author11