Problem 157. The Hitchhiker's Guide to MATLAB
Output logical "true" if the input is the answer to life, the universe and everything. Otherwise, output logical "false".
Solution Stats
Problem Comments
-
18 Comments
weird question
??. Please some one explain me the problem
I cann't bear so weird question! why 42?
42 is the ultimate answer to life,universe and everything.--- The Hitchhiker's Guide to the galaxy!
I wish there is a "dislike" opinion.
Very good.
That's nice! Btw I dont understand how to get less then 13.
Honestly, I solved it only because it kept reappearing on my list.
In the spirit of troublemaking: I think the solution should accept text input, e.g. "forty-two"
Really weird question!
good
42. do not add zero after 2
good
good one
gooodyy
Is it necessary to know about "The hitchhiker's guide to the galaxy" to solve this problem or it has a different logic behind the solution?
If it doesn't have a different logic, I have to say it was a boring problem.
classic
Amazing!
Solution Comments
Show commentsProblem Recent Solvers3300
Suggested Problems
-
Find the numeric mean of the prime numbers in a matrix.
8923 Solvers
-
Remove the polynomials that have positive real elements of their roots.
1676 Solvers
-
middleAsColumn: Return all but first and last element as a column vector
609 Solvers
-
How many trades represent all the profit?
601 Solvers
-
calculate the length of matrix
1720 Solvers
More from this Author23
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!