ZOJ --- 3516 Tree of Three
摘要:
Tree of ThreeTime Limit:2 Seconds Memory Limit:65536 KBNow we have a tree and some queries to deal with. Every node in the tree has a value on it. For one nodeA, we want to know the largest three values in all the nodes of the subtree whose root is nodeA. Node 0 is root of the tree, except it, all o 阅读全文
posted @ 2014-04-01 20:50 ~Love() 阅读(247) 评论(0) 推荐(0)
浙公网安备 33010602011771号