样题2
Veebee's department store occupies five of the six floors in a building. On the remaining floor is a restaurant. The floors are numbered one through six, with the first floor at the bottom and the sixth at the top. Veebee's has four departments: housewares, kids, furniture and clothing. Each department occupies a separate floor except the clothing department, which occupies two adjacent floors.
The kids department cannot be located on a floor immediately above or immediately below a floor occupied by the clothing department.
The housewares department is either on the floor immediately above or immediately below the furniture department.
我们马上就觉察到这个线性排列的条件比上一题少得多。条件少题目就容易吗? 不,正好相反:条件少说明可能性多,题目就比较难解.
首先,我们创建一个包含所有元素的花名册, 这里,元素指的是各个不同的销售部门.
|
您将承担一切因您的行为、言论而直接或间接导致的民事或刑事法律责任
留言板管理人员有权保留或删除其管辖留言中的任意内容 本站提醒:不要进行人身攻击。谢谢配合。 |