This is a really hard riddle, and I couldn't figure it out... someone had to tell me the answer. Okay, here we go.
There are 10 prisoners. The cops make a deal with them. The prisoners will be put in a single file line, one behind another. Then the cops would put a hat on each of the men. The...