You are an apprentice at Hyperlogitech Corp. The first thing you learn is every department at Hyperlogitech Corp. has two managers, one of the managers is a Knight, and the other is a Liar.
At the first board meeting you attend you ask the managers which department they work for. The responses are as follows:
Fiona: None of Alice, Carol and Eddy are in production.
Alice: Carol is in accounting.
Carol: Eddy and I are in the same department.
Bert: Dave is the Liar from accounting.
Carol: Fiona is in accounting.
Dave: At most one of Alice, Carol and Eddy is a liar.
Eddy: Bert and I are in different departments.
Alice: Fiona is in shipping.
Which managers are in charge of which departments and who are the knights and who are the liars?
I set up a grid thing with names going down the side, and KP, LP, KA, LA, KS, LS going across the top. I started chugging my way through by assuming Alice was KP, but it actually worked out.
Alice: Knight in Production
Bert: Liar in Production
Carol: Liar in Accounting
Dave: Knight in Accounting
Eddy: Knight in Shipping
Fiona: Liar in Shipping
This may not be the only solution.
Posted by Dustin
on 2004-11-01 00:33:57