文件名称:Whodidit
介绍说明--下载内容均来自于网络,请自行研究使用
清华附中有四位同学中的一位做了好事,不留名,表扬信来了之后,校长问这四位是谁做的好事。
A说:不是我。
B说:是C。
C说:是D。
D说:他胡说。
已知三个人说的是真话,一个人说的是假话。现在要根据这些信息,找出做了好事的人。
-Tsinghua University High School, one in four students to do a good thing, not leaving a letter of commendation to the principal asked the four who do good. A: not me. B: C C: D D: He nonsense. Known that the three men was telling the truth, a person says is a lie. Based on this information, find good people.
A说:不是我。
B说:是C。
C说:是D。
D说:他胡说。
已知三个人说的是真话,一个人说的是假话。现在要根据这些信息,找出做了好事的人。
-Tsinghua University High School, one in four students to do a good thing, not leaving a letter of commendation to the principal asked the four who do good. A: not me. B: C C: D D: He nonsense. Known that the three men was telling the truth, a person says is a lie. Based on this information, find good people.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
3_5.cpp