Cody

Problem 1188. The Answer to Life, the Universe, and Everything

Solution 2689265

Submitted on 13 Jul 2020
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
answer = 42; assert(isequal(answer_to('life'),answer))

Unrecognized function or variable 'The'. Error in answer_to (line 2) answer = [The Answer]; Error in Test1 (line 2) assert(isequal(answer_to('life'),answer))

2   Fail
answer = 42; assert(isequal(answer_to('universe'),answer))

Unrecognized function or variable 'The'. Error in answer_to (line 2) answer = [The Answer]; Error in Test2 (line 2) assert(isequal(answer_to('universe'),answer))

3   Fail
answer = 42; assert(isequal(answer_to('everything'),answer))

Unrecognized function or variable 'The'. Error in answer_to (line 2) answer = [The Answer]; Error in Test3 (line 2) assert(isequal(answer_to('everything'),answer))

4   Fail
answer = 42; assert(isequal(answer_to('life','universe','everything'),answer))

Unrecognized function or variable 'The'. Error in answer_to (line 2) answer = [The Answer]; Error in Test4 (line 2) assert(isequal(answer_to('life','universe','everything'),answer))