Cody

# Problem 1080. Guess Cipher

Solution 1780707

Submitted on 10 Apr 2019 by Murugan C
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_num = 72 101 108 108 111 32 87 111 114 108 100 33 out = 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_num = 67 97 110 32 73 32 104 101 108 112 32 121 111 117 63 out = 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_num = 77 97 114 121 32 104 97 100 32 97 32 108 105 105 116 108 101 32 108 97 109 98 46 out = 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.'