Problem 1713. Can you beat the lottery?
Solution Stats
Problem Comments
-
2 Comments
Armando Villani
on 22 Jun 2014
You need to test with more than one number. Many attempt (and succeed) with a static vector solution until they are lucky.
Rainaire Hansford
on 24 May 2019
When i run the program it says fn is undefined. Please explain
Problem Recent Solvers42
Suggested Problems
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
1339 Solvers
-
380 Solvers
-
491 Solvers
-
242 Solvers
-
07 - Common functions and indexing 4
373 Solvers
More from this Author17
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!