Problem 44669. Dial Up

Solution 1544502

Submitted on 30 May 2018 by J. S. Kowontan
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
inp = '1FUNDOG4YOU'; out_correct = 13863644968; assert(isequal(dial(inp),out_correct))

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

Suggested Problems

More from this Author29

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!