Jump to content
BrainDen.com - Brain Teasers
  • 0


Guest
 Share

Question

100 prisoners are assigned a random number 1-100, no repeats. no prisoner knows what their number is.

two prisoners chosen at random enter a room. each time they enter, they can communicate, and the warden will tell them which greater or less, but still won't be given their number. when a prisoner knows everyone's number, he can declare so. if he's wrong however it means five more years of prison for everyone.

what's the best strategy they can make?

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

100 prisoners are assigned a random number 1-100, no repeats. no prisoner knows what their number is.

two prisoners chosen at random enter a room. each time they enter, they can communicate, and the warden will tell them which greater or less, but still won't be given their number. when a prisoner knows everyone's number, he can declare so. if he's wrong however it means five more years of prison for everyone.

what's the best strategy they can make?

Assumptions?

* No communication after the experiment starts?

* Can communicate before experiment starts?

Link to comment
Share on other sites

  • 0

Each time two prisoners meet they share with each other ALL the information they know, as in let's say prisoner a knew that a>t, t<k, k>l

prisoner b knew that

b<i, i<l

They'd both combine their info and also add the info that a>b or b>a, once one of the prisoners have enough info to sort everyone he'll speak, but you'd have to have ALOT of info and also for each neighboring prisoners (one's who's numbers come after each other, i.e 21 & 22) the only way you can know which is which is when they're both compared with each other, cause otherwise their comparison with every other prisoner is the same...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...