Cody

# Problem 56. Scrabble Scores

Solution 555300

Submitted on 10 Jan 2015 by Lukas
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 = 'a'; score = 1; assert(isequal(scrabble_score(str),score))

point1 = eaionrtlsu point2 = dg point3 = bcmp point4 = fhvwy point5 = k point8 = jx point10 = qz scores = 1

2   Pass
%% str = 'matlab'; score = 10; assert(isequal(scrabble_score(str),score))

point1 = eaionrtlsu point2 = dg point3 = bcmp point4 = fhvwy point5 = k point8 = jx point10 = qz scores = 3 scores = 3 1 scores = 3 1 1 scores = 3 1 1 1 scores = 3 1 1 1 1 scores = 3 1 1 1 1 3

3   Pass
%% str = 'quetzalcoatl'; score = 32; assert(isequal(scrabble_score(str),score))

point1 = eaionrtlsu point2 = dg point3 = bcmp point4 = fhvwy point5 = k point8 = jx point10 = qz scores = 10 scores = 10 1 scores = 10 1 1 scores = 10 1 1 1 scores = 10 1 1 1 10 scores = 10 1 1 1 10 1 scores = 10 1 1 1 10 1 1 scores = 10 1 1 1 10 1 1 3 scores = 10 1 1 1 10 1 1 3 1 scores = 10 1 1 1 10 1 1 3 1 1 scores = 10 1 1 1 10 1 1 3 1 1 1 scores = 10 1 1 1 10 1 1 3 1 1 1 1