Josephus Problem
Fun little project using the C programming language. The program performs bit manipulation on the number of soldiers to find the smallest possible bit representation and performs a cyclical left shift to result in an almost instant calculation of the last surviving soldier.
Published | 1 day ago |
Status | Released |
Platforms | HTML5 |
Author | HeliumSneakers |
Genre | Simulation |
Tags | Historical, Math |
Leave a comment
Log in with itch.io to leave a comment.