I came up with a logic puzzle inspired by this xkcd comic. I don't yet have an answer, and I am wondering if anyone can come up with one. You are in a room with three doors. Two of the doors lead out, but one of them leads to certain death. Each door has a guard holding a spear stationed in front of it. One of the guards always lies, one always tells the truth, and the third guard will fatally stab you if you ask a tricky question. If the question isn't tricky, he will tell the truth. For thi...