Cody

Problem 462. letter yes yes & letter no no

Solution 1417767

Submitted on 16 Jan 2018 by baruch braude
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
LynLyn='You are @#\$#@*& very kind'; [Lyy Lnn]=LyyLnn(LynLyn); Ly='Youareverykind'; Ln=' @#\$#@*& '; assert(isequal(Ly,Lyy)&isequal(Ln,Lnn))

x = 89 111 117 32 97 114 101 32 64 35 36 35 64 42 38 32 118 101 114 121 32 107 105 110 100 n = 25 Lyy = [] Lnn = [] Lyy = 89 Lyy = 89 111 Lyy = 89 111 117 Lnn = 32 Lyy = 89 111 117 97 Lyy = 89 111 117 97 114 Lyy = 89 111 117 97 114 101 Lnn = 32 32 Lnn = 32 32 64 Lnn = 32 32 64 35 Lnn = 32 32 64 35 36 Lnn = 32 32 64 35 36 35 Lnn = 32 32 64 35 36 35 64 Lnn = 32 32 64 35 36 35 64 42 Lnn = 32 32 64 35 36 35 64 42 38 Lnn = 32 32 64 35 36 35 64 42 38 32 Lyy = 89 111 117 97 114 101 118 Lyy = 89 111 117 97 114 101 118 101 Lyy = 89 111 117 97 114 101 118 101 114 Lyy = 89 111 117 97 114 101 118 101 114 121 Lnn = 32 32 64 35 36 35 64 42 38 32 32 Lyy = 89 111 117 97 114 101 118 101 114 121 107 Lyy = 89 111 117 97 114 101 118 101 114 121 107 105 Lyy = 89 111 117 97 114 101 118 101 114 121 107 105 110 Lyy = 89 111 117 97 114 101 118 101 114 121 107 105 110 100 Lyy = 'Youareverykind' Lnn = ' @#\$#@*& '

2   Pass