Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
100 prisoners' problem
#4
(04-15-2023, 02:31 PM)SMcNeill Wrote: Optimal strategy is just have everyone agree to open the first box on the left.

First guy goes in, opens that box, sees number 57..  comes out and yells "57".  Prisoner 57 goes in and gets his number.  Next guy goes in, checks the first box left on his left, walks out and yells that number....

Continue until finished.

Sorry,
   
  724  855  599  923  575  468  400  206  147  564  878  823  652  556 bxor cross forever
Reply


Messages In This Thread
100 prisoners' problem - by TempodiBasic - 04-15-2023, 10:44 AM
RE: 100 prisoners' problem - by bplus - 04-15-2023, 02:18 PM
RE: 100 prisoners' problem - by SMcNeill - 04-15-2023, 02:31 PM
RE: 100 prisoners' problem - by TempodiBasic - 04-16-2023, 11:04 AM
RE: 100 prisoners' problem - by SMcNeill - 04-16-2023, 02:41 PM
RE: 100 prisoners' problem - by bplus - 04-15-2023, 05:41 PM
RE: 100 prisoners' problem - by SMcNeill - 04-15-2023, 07:08 PM
RE: 100 prisoners' problem - by bplus - 04-16-2023, 02:32 PM
RE: 100 prisoners' problem - by SMcNeill - 04-16-2023, 03:25 PM
RE: 100 prisoners' problem - by bplus - 04-17-2023, 07:30 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  100 lines or less... Unseen Machine 17 1,401 11-01-2025, 10:33 AM
Last Post: MasterGy
  Mystery Mania an 80's Logic Problem Generator justsomeguy 4 1,105 02-09-2025, 08:18 PM
Last Post: justsomeguy
  start.command problem on macOS tothebin 3 1,121 04-29-2024, 01:16 AM
Last Post: NakedApe
  A program to solve a problem: filter Linux/Unix 'ls' output TDarcos 1 762 07-15-2023, 12:29 AM
Last Post: grymmjack

Forum Jump:


Users browsing this thread: 1 Guest(s)