very cute problem:)

來源: 2009-06-16 22:11:52 [博客] [舊帖] [給我悄悄話] 本文已被閱讀:

If we call the passenger who does not know his sit "bad", then after his sitting, he generate another "bad" passenger, thus the problem can be solved recursively. Very nice problem.