Problem 1940. Decimation - Optimized for speed

This problem is similar to http://www.mathworks.com/matlabcentral/cody/problems/1092-decimation, only this time the score will be based on how quickly you can determine which person will survive.

The sample sizes (num_prisoners) and number of prisoners killed (num_killed) will be larger than in the original problem, but other than that the problem sets are identical.

Solution Stats

25.74% Correct | 74.26% Incorrect
Last Solution submitted on Nov 25, 2024

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers171

Suggested Problems

More from this Author80

Community Treasure Hunt

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

Start Hunting!