文件名称:Whoistheculprit
介绍说明--下载内容均来自于网络,请自行研究使用
某地刑侦大队对涉及六个嫌疑人的一桩疑案进行分析:
A、B 至少有一人作案;
A、E、F 三人中至少有两人参与作案;
A、D 不可能是同案犯;
B、C 或同时作案,或与本案无关;
C、D 中有且仅有一人作案;
如果 D 没有参与作案,则 E 也不可能参与作案。
试编一程序,将作案人找出来。
-Doubtful Case of a six suspects involved somewhere Criminal Investigation Brigade: A, B is at least one person committing the crime , A, E, F three at least two people were involved in committing the crime can not be accomplice A, D B C or committing the crime at the same time, or nothing to do with the case C, D, and only one person committing the crime if D is not involved in committing the crime, then E can not be involved in crime. Try to compile a program, find out the perpetrators.
A、B 至少有一人作案;
A、E、F 三人中至少有两人参与作案;
A、D 不可能是同案犯;
B、C 或同时作案,或与本案无关;
C、D 中有且仅有一人作案;
如果 D 没有参与作案,则 E 也不可能参与作案。
试编一程序,将作案人找出来。
-Doubtful Case of a six suspects involved somewhere Criminal Investigation Brigade: A, B is at least one person committing the crime , A, E, F three at least two people were involved in committing the crime can not be accomplice A, D B C or committing the crime at the same time, or nothing to do with the case C, D, and only one person committing the crime if D is not involved in committing the crime, then E can not be involved in crime. Try to compile a program, find out the perpetrators.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
3_4.cpp