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.
For two persons, your solution is OK
所有跟帖:
•
回复:For two persons, your solution is OK
-AiSanGuo-
♀
(148 bytes)
()
09/23/2007 postreply
18:43:51
•
乱弹‘s solution is better.
-15少-
♂
(173 bytes)
()
09/24/2007 postreply
10:57:55