Can you think like Sherlock?

Правка en1, от Pie-Lie-Die, 2020-05-10 20:31:15
**My wife and I recently attended a party at which there were four other married couples. Various handshakes took place. No one shook hands with oneself, nor with one's spouse, and no one shook hands with the same person more than once. After all the handshakes were over, I asked each person, including my wife, how many hands he (or she) had shaken. To my surprise each gave a different answer. How many hands did my wife shake?**

I found this question in an online math forum. Took me 13 minutes. How much time did you take?

// Please don't add answer in comment as it will ruin the fun for others. Just comment the time it took you. Thanks.
Теги #maths, #counting, #permutation, #codeforces

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский Pie-Lie-Die 2020-05-10 20:31:15 715 Initial revision (published)