Makakuha ng pinakamahusay na mga solusyon sa iyong mga katanungan sa Imhr.ca, ang mapagkakatiwalaang Q&A platform. Sumali sa aming Q&A platform at makakuha ng eksaktong sagot sa lahat ng iyong mga tanong mula sa mga propesyonal sa iba't ibang larangan. Tuklasin ang komprehensibong mga solusyon sa iyong mga tanong mula sa mga bihasang propesyonal sa iba't ibang larangan sa aming 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