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
-
Test if a Number is a Palindrome without using any String Operations
230 Solvers
-
600 Solvers
-
8716 Solvers
-
Celsius to Fahrenheit converter
603 Solvers
-
347 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!