Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Site Related Forums
 The Yak Corral
 Brain Teaser

Author  Topic 

ditch
Master Smack Fu Yak Hacker

1466 Posts

Posted - 2004-03-23 : 23:52:18
One of those crafty but simple logic puzzles: Alf, Ben, Chris, Dan and Ed are playing cops and robbers. Robbers are cads and always tell lies. Cops are trustworthy and ALWAYS tell the truth (okay, so suspend disbelief for the purposes of the exercise….).

Alf says that Ben is a cop. Chris says that Dan is a robber. Ed says that Alf is not a robber. Ben says that Chris is not a cop. Dan says that Ed and Alf are playing on different sides.

Based on these facts and statements, how many robbers are there?


Duane.

nr
SQLTeam MVY

12543 Posts

Posted - 2004-03-24 : 02:53:19
4

==========================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page

ditch
Master Smack Fu Yak Hacker

1466 Posts

Posted - 2004-03-24 : 03:09:22
Thats what I got too.

I have the answer confirmed each Monday. (Part of a news letter that gets spammed to me trying to sell Insurance to me at the same time).

I'm possitive that 4 is correct though.


Duane.
Go to Top of Page
   

- Advertisement -