New answers tagged


It seems to me that this epic voyage was actually: Having arrived at the start, I was ready to start my journey. I found a vessel, and began. To start, I let myself drift west as far as I could, which, looking left, allowed a nice view back at where I arrived. Finally I could drift no further and turned north before continuing. I found myself surrounded, ...


The basic principle, as with other problems of this type, is that we start with two sets. We want to count the size of the prison population - a set $P$ with $n$ members. We start with two known subsets: $S_0$ consisting of exactly 1 person who is writing the plans. $P \setminus S_0$ everyone not in $S_0$ The initial goal is to partition $P$ into $k$ ...


You can improve @athin solution by knocking on the East or West walls once in the small room. Depending on what you hear you can deduce whether you're next to the exit, or 2 additional wrong rooms, thus improving the algorithm. I'm sorry I cannot comment on their answer.


OK, lets look at the problem first. I think we can... To do this we first have to notice a few things about the problem. Each dead end room has two doors exiting it. One to the corridor that you came from and one to the adjacent corridor. From this property we can apply this logic... Further to this we know that... So, we can perform our search by using ...


As an easy-to-remember simple implementation of @athin's excellent answer: Starting before the first door, and until you walk out the exit After each exit, As mentioned by @FlorianF, this With an expected time (assuming random positioning and ignoring E-W movement) of


I am thinking this through as I type. Where I would start, and the theory I proceed under: How I move forward from there: Narrowing it down:


Let's number the hallways (doors) from $1$ to $2001$ from west to east. One important observation is that: This is because: Now, another important observation is that, if a dead-end room connects hallway $i$ and $i+1$: Combining both observations: How long will it take for us to survive? This is a visual help:


Just some random thoughts:


I think the answer might be: My logic is as follows: EDIT: Let me take another shot. I think the answer is: Reasoning:


Overall interpretation Step 1 Step 2 Now that we have step 1 done... The solution there is: Step 3 Okay, so what next? So, we should apply this step's instruction picture: Step 4 Finally:


The message says because and I learned


Partial answer maybe??? 18-21: 0-3: 12-15: 15-18: So:


Top 50 recent answers are included