Josephus problem: Difference between revisions
Content added Content deleted
m (→{{header|Phix}}: I was never any good at counting...) |
|||
Line 2,728: | Line 2,728: | ||
=={{header|Phix}}== |
=={{header|Phix}}== |
||
I managed to identify |
I managed to identify eight algorihms in use on this page, so I translated all of them. Kill ordering lists omitted for sanity.<br> |
||
Unclassified: Haskell, Python[4 aka learning iter in python], REXX[version 2] (plus Befunge, J, and Mathematica, which I'm happy to ignore)<br> |
Unclassified: Haskell, Python[4 aka learning iter in python], REXX[version 2] (plus Befunge, J, and Mathematica, which I'm happy to ignore)<br> |
||
Note all indexes and results are 1-based. For skipping/linked_list/sliding_queue, prisoners do not have to be numbers, the |
Note all indexes and results are 1-based. For skipping/linked_list/sliding_queue, prisoners do not have to be numbers, the |