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
-
Determine whether a vector is monotonically increasing
16645 Solvers
-
148 Solvers
-
Sum of first n terms of a harmonic progression
357 Solvers
-
509 Solvers
-
Find the dimensions of a matrix
472 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!