Cody

Solution 2069210

Submitted on 26 Dec 2019 by William
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

This solution is outdated. To rescore this solution, sign in.

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))

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

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

Suggested Problems

More from this Author145