Cody

Solution 181090

Submitted on 23 Dec 2012 by Khaled Hamed
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 = 'm'; y_correct = [6 1]; assert(isequal(encryptt(x),y_correct))
2   Pass
%% x = 'go'; y_correct = [46 3]; assert(isequal(encryptt(x),y_correct))
3   Pass
%% x = 'cody'; y_correct = [2639 99]; assert(isequal(encryptt(x),y_correct))
4   Pass
%% x = 'hydroglycerin'; y_correct = [4937645923746 2616254]; assert(isequal(encryptt(x),y_correct))
5   Pass
%% x = 'antidisestablishmentarianism'; y_correct = [2684347378225474636827426476 13474859120710]; assert(isequal(encryptt(x),y_correct))
6   Pass
%% x = 'there must be an efficient technique'; y_correct = [84373 56 6878 22 23 5 26 2 333424368 13108 832464783 5378]; assert(isequal(encryptt(x),y_correct))