Problem 1668. Josephus Survivor
Solution Stats
Problem Comments
-
4 Comments
Hi Richard, this problem is the same as this other one: http://www.mathworks.de/matlabcentral/cody/problems/1092-decimation
isn't it??
So I think there is an error on test case number 4 and 5... :-(
Really like this problem, btw i also got issues with those test cases
I made the Decimation problem referenced above, and I had problems with my test suite as well. Looks like we both would have been standing in the wrong spot in the circle... :-(
I thought I had the right solutions but was unsure. I searched for Josephus to see if this was a duplication, I will look at decimation.
Problem Recent Solvers34
Suggested Problems
-
The Goldbach Conjecture, Part 2
1912 Solvers
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
1343 Solvers
-
What is the distance from point P(x,y) to the line Ax + By + C = 0?
339 Solvers
-
115 Solvers
-
07 - Common functions and indexing 6
417 Solvers
More from this Author260
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!