Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
inStr = 'doug';
shift = 10;
outStr = 'nyeq';
assert(isequal(cypher(inStr, shift),outStr))
n =
1×4 int8 row vector
3 14 20 6
|
2 | Pass |
inStr = 'thequickbrownfox';
shift = 5;
outStr = 'ymjvznhpgwtbsktc';
assert(isequal(cypher(inStr, shift),outStr))
n =
1×16 int8 row vector
19 7 4 16 20 8 2 10 1 17 14 22 13 5 14 23
|
3 | Pass |
inStr = 'thecrowfliesatmidnight';
shift = 22;
outStr = 'pdaynksbheaowpiezjecdp';
assert(isequal(cypher(inStr, shift),outStr))
n =
1×22 int8 row vector
19 7 4 2 17 14 22 5 11 8 4 18 0 19 12 8 3 13 8 6 7 19
|
261 Solvers
Determine if a Given Number is a Triangle Number
322 Solvers
306 Solvers
Find best placement for ordered dominoes (harder)
205 Solvers
Sum of odd numbers in a matrix
311 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!