Problem 44390. Test your luck!
This problem is designed to test your luck, and therefore the contents of your function are irrelevant. In order to do so, the test suit will run your function (it is your function and therefore it has your luck) and check the time. If the last two digits of the time in milliseconds are lesser than 20 (0-19), your function will be considered to have succeeded, otherwise it will be considered to have failed. This procees is repeated 200 times, and if your function succeeds all tests, you will have solved the problem, thus proving you are incredibly lucky!
Note: If you noticed, the probability of solving the problem (assuming the time is completely random) is 5^-200, in honor of the 5th anniversay of Cody.
Solution Stats
Problem Comments
-
2 Comments
Your testsuite is broken.
I am sorry. It's already fixed.
Solution Comments
Show commentsProblem Recent Solvers10
Suggested Problems
-
Count from 0 to N^M in base N.
234 Solvers
-
Back to basics 21 - Matrix replicating
1471 Solvers
-
Longest run of consecutive numbers
5119 Solvers
-
590 Solvers
-
Number of Even Elements in Fibonacci Sequence
1248 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!