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.