loading...

摘要: A. The Hanged Man on hdu 给 \(n\) 个节点的一棵树 \((V,E)\),每个节点有权值 \(a_i,b_i\),定义: \(f(x)\) 为:在树上选一些节点得到节点集合 \(S\) 满足 \(\forall (u,v) \in E:u\notin S \lor v\n 阅读全文
posted @ 2025-08-27 21:42 goldspade 阅读(12) 评论(0) 推荐(0)