机灵饼干

文章
5
资源
0
加入时间
2年10月24天

Heap Partition ZOJ - 3963

A sequenceS= {s1,s2, ...,sn} is calledheapableif there exists a binary treeTwithnnodes such that every node is labelled with exactly one element from the sequenceS, and for every non-root no...