文学城论坛
+A-

回复:回复:第一题说明

spear123 2009-05-10 18:06:06 ( reads)

generate a linked list, each node indicate a room. At the very beginning, the list includes all the rooms. Whenever a room is cleaned, it will be removed from the list.
What you need to do is just print this list.

跟帖(0)