Cody

# Problem 724. QWERTY Shift Code Decoder

Solution 93682

Submitted on 30 May 2012
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   Fail
%% s='ThE qUiCk BrOwN fOx JuMpEd OvEr ThE lAzY dOg'; se = 'YjR wIoVl NtPeM gPc Ki<[Rf PbRt YjR ;SxU fPh'; assert(isequal(Qwerty_decode(se),s))

Error: Undefined function or variable 'codebook'.

2   Fail
%% s='abcdefghijklmnopqrstuvwxyz'; se='snvfrghjokl;,mp[wtdyibecux'; % a-z assert(isequal(Qwerty_decode(se),s))

Error: Undefined function or variable 'codebook'.

3   Fail
%% s='ABCDEFGHIJKLMNOPQRSTUVWXYZ'; se='SNVFRGHJOKL:<MP{WTDYIBECUX'; % A-Z assert(isequal(Qwerty_decode(se),s))

Error: Undefined function or variable 'codebook'.

4   Fail
%% s='You miss 100 percent of the shots you never take. Gretzky'; se='Upi ,odd 100 [rtvrmy pg yjr djpyd upi mrbrt yslr. Htryxlu'; assert(isequal(Qwerty_decode(se),s))

Error: Undefined function or variable 'codebook'.

5   Fail
%% s='Those who believe in telekinetics raise my hand. Vonnegut'; se='Yjpdr ejp nr;orbr om yr;rlomryovd tsodr ,u jsmf. Bpmmrhiy'; assert(isequal(Qwerty_decode(se),s))

Error: Undefined function or variable 'codebook'.