Just like Matthew's problem 2793 and Edward's problem 2872 (guess the number that Cody is thinking) but now you must solve it in your first try.
Good luck!
note
despite appearances this problem does not require any hacking at all (nor even manipulation of random streams). Look at the testsuite for details and only submit your solution if you are confident that it will pass (you do have only one chance)
hint
The solution to this problem has been posted over 10,000 times in Cody

Solution Stats

172 Solutions

29 Solvers

Last Solution submitted on May 28, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...

Problem Recent Solvers29

Suggested Problems

More from this Author33

Problem Tags

Community Treasure Hunt

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

Start Hunting!