Christopher Lanning - MATLAB Cody - MATLAB Central

Christopher Lanning

37674
Rank
2
Badges
104
Score
1 – 11 of 11

Christopher Lanning received Commenter badge for Problem 1092. Decimation

on 3 Oct 2022

Christopher Lanning submitted a Comment to Problem 1092. Decimation

At least 2 of the test cases do not match what I find if I run the sequence by hand on paper. Specifically: num_prisoners = 30; kill_every = 5; Survivor is prisoner number 14, not number 3 and, num_prisoners = 10; kill_every = 10; Survivor is prisoner number 6, not number 8 Based on other comments, it looks like the test cases may have changed at some point. I believe at least these two (and likely a couple others) are now incorrect.

on 3 Oct 2022

Christopher Lanning received Solver badge for Solution 6570599

on 23 Sep 2021

1 – 11 of 11
Go to top of page