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 Solvers3297
Suggested Problems
-
4467 Solvers
-
Sum of diagonal of a square matrix
1577 Solvers
-
middleAsColumn: Return all but first and last element as a column vector
605 Solvers
-
07 - Common functions and indexing 6
451 Solvers
-
Calculate Amount of Cake Frosting
24966 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!