請問兩個logic問題(in English)
兩題皆來自<<Discrete Mathematics and its applications)
請高手們指導...orz
1.Each inhabitant of a remote village always tells the truth or always lies.
A villager will only give a "yes" or a "no" response to a question a tourist
asks. Suppose you are a tourist visiting this area and come to a fork in
the road. One branch leads to the ruins you want to visit; the other branch
leads deep into the jungle. A villager is standing at the fork in the road.
What one question can you ask th villager to determine which branch to take?
2.Steve would like to determine the relative salaries of three coworkers
using two facts. First, he knows that if Fred is not the highest paid of
the three, then Janice is. Second, he knows that if Janice is not the lowest
paid, then Maggie is paid the most. Is it possible to determine the relative
salaried of Fred,Maggie, and Janice from what Steve knows? If so,who is paid
the most and who the least? Explain your reasoning.
--
座右銘:
每天進步一點點~~
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.119.199.40
討論串 (同標題文章)
完整討論串 (本文為第 1 之 5 篇):