Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
别误导人了,这就是森林那些会死循环的,看看是不是树状DP写错了。至于DAG是不可能出现的,因为题目一个条件的隐含意思就是任意两个能量之间只有一条路径,因此就是一个森林。 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator