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

5.05% Correct | 94.95% Incorrect
Last Solution submitted on Feb 03, 2024

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers10

Suggested Problems

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!