Cody

Solution 2075239

Submitted on 31 Dec 2019 by Nikolaos Nikolaou
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
str= 'He IS the witcher!! 1233 */-, ain"t hE?'; y_correct = [20,4,7,4,16,8]; assert(isequal(str_calc(str),y_correct))

y = 20 4 7 4 16 8

2   Pass
str= 'Love what u do!! # do what U love '; y_correct = [22,0,9,2,20,3]; assert(isequal(str_calc(str),y_correct))

y = 22 0 9 2 20 3

3   Pass
str= '23450011243;;[]{}***63``'; y_correct = [0,13,0,0,0,9]; assert(isequal(str_calc(str),y_correct))

y = 0 13 0 0 0 9

Suggested Problems

More from this Author104