Problem 1188. The Answer to Life, the Universe, and Everything
A variation of a previous Hitchhiker's Guide to the Galaxy problem.
Inputs: Life, the Universe, and Everything
Output: The Answer
Solution Stats
Problem Comments
-
4 Comments
Show
1 older comment
Aurelien Queffurust
on 9 Jan 2013
It is a duplicate of
Problem 157. The Hitchhiker's Guide to MATLAB : http://www.mathworks.com/matlabcentral/cody/problems/157-the-hitchhiker-s-guide-to-matlab
Joseph Kirk
on 9 Jan 2013
Not a duplicate, a variation (as mentioned in the description). The previous one returned true/false if the input was the Answer. This one requests that the output be the Answer. :o)
Aurelien Queffurust
on 10 Jan 2013
Exact it is a variation
mohd mu'aazullah yaakob
on 28 Dec 2016
Nice
Solution Comments
Show commentsProblem Recent Solvers528
Suggested Problems
-
2126 Solvers
-
Renaming a field in a structure array
1517 Solvers
-
Sum all integers from 1 to 2^n
15305 Solvers
-
231 Solvers
-
Sum of first n positive integers
581 Solvers
More from this Author3
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!