摘要:
Problem DescriptionWshxzt is a lovely girl. She likes apple very much. One day HX takes her to an apple tree. There are N nodes in the tree. Each node has an amount of apples. Wshxzt starts her happy trip at one node. She can eat up all the apples in the nodes she reaches. HX is a kind guy. He knows 阅读全文
posted @ 2013-08-21 17:54
persistent codeants
阅读(320)
评论(0)
推荐(0)
摘要:
1128. Partition into GroupsTime limit: 0.5 second Memory limit: 64 MBThere areNchildren in the kindergarten. Unfortunately, the children quarrel though not often. Each child has not more than three adversaries. Is it possible to partition the children into two groups (possibly not equal), so that ea 阅读全文
posted @ 2013-08-21 14:10
persistent codeants
阅读(299)
评论(0)
推荐(0)

浙公网安备 33010602011771号