Cody

Solution 300616

Submitted on 10 Aug 2013 by Alfonso Nieto-Castanon
  • Size: 59
  • This is the leading solution.
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))