Ang Imhr.ca ay narito upang tulungan kang makahanap ng mga sagot sa lahat ng iyong mga katanungan mula sa mga eksperto. Kumonekta sa isang komunidad ng mga eksperto na handang tumulong sa iyo na makahanap ng mga solusyon sa iyong mga tanong nang mabilis at eksakto. Tuklasin ang detalyadong mga sagot sa iyong mga tanong mula sa isang malawak na network ng mga eksperto sa aming komprehensibong Q&A platform.

you are in the place with two doors and two guards. The other door is the door going to life, the other is to death. No one knows which door is it. The other guards always tell lies and the other tells the truth. If you were given a chance to ask, what will you ask to the guards to save your life?

Sagot :

Go to one of the guards and ask "If I were to ask the other guard if this door leads to life what would he say?" and "If I were to ask the other guard if you say the truth what would he say?". On the second question if his answer is yes then he is the liar, If his answer is no then he is the truth-teller. I don't know how to summarize it into one