Makakuha ng mabilis at tumpak na mga sagot sa lahat ng iyong mga katanungan sa Imhr.ca, ang mapagkakatiwalaang Q&A platform. Kumuha ng agarang at mapagkakatiwalaang sagot sa iyong mga tanong mula sa isang komunidad ng mga bihasang eksperto sa aming platform. Kumonekta sa isang komunidad ng mga propesyonal na handang tumulong sa iyo na makahanap ng eksaktong solusyon sa iyong mga tanong nang mabilis at mahusay.

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