For two persons, your solution is OK

来源: 2007-09-23 17:59:04 [博客] [旧帖] [给我悄悄话] 本文已被阅读:

But for N persons, it is not a good solution to give the slice to the "first" person who claims. There may be more than two persons who claim the slice at the same time.