Cody

Problem 44669. Dial Up

Solution 1988545

Submitted on 24 Oct 2019
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   Fail
inp = '1FUNDOG4YOU'; out_correct = 13863644968; assert(isequal(dial(inp),out_correct))

Error in solution: Line: 3 Column: 3 Invalid expression. Check for missing multiplication operator, missing or unbalanced delimiters, or other syntax error. To construct matrices, use brackets instead of parentheses.

2   Fail
inp = '1 (FUN) DOG-4-YOU #2'; out_correct = 0; assert(isequal(dial(inp),out_correct))

Error in solution: Line: 3 Column: 3 Invalid expression. Check for missing multiplication operator, missing or unbalanced delimiters, or other syntax error. To construct matrices, use brackets instead of parentheses.