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 Solvers3296
Suggested Problems
-
2584 Solvers
-
Project Euler: Problem 2, Sum of even Fibonacci
2299 Solvers
-
Convert a numerical matrix into a cell array of strings
1830 Solvers
-
750 Solvers
-
1304 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!