I am thinking of a number between 1 and 10000... can you guess what this number is?
Description
The test suite has random entries. Your job is to find a hack and have your function return the correct answer.
notes
Neither the @bmtran's evalin trick nor a lookup table would work here...
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers122
Suggested Problems
-
Return the largest number that is adjacent to a zero
5516 Solvers
-
288 Solvers
-
Number of 1s in the Binary Representation of a Number
480 Solvers
-
824 Solvers
-
First non-zero element in each column
942 Solvers
More from this Author33
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!