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
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
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)
Exact it is a variation
Nice
Solution Comments
Show commentsProblem Recent Solvers514
Suggested Problems
-
Find the longest sequence of 1's in a binary sequence.
5934 Solvers
-
Find the two most distant points
2741 Solvers
-
Project Euler: Problem 1, Multiples of 3 and 5
3017 Solvers
-
Generate N equally spaced intervals between -L and L
847 Solvers
-
567 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!