根据会议依赖关系建出森林,那么每个结点处需要的员工数即为子树内的叶子数量。每天所有结点的子树叶子数量和的最大值即为答案。
QOJ.ac
QOJ
The 3rd Universal Cup Finals is coming! Join our Warm-up Game and Prediction Game and win the prizes! Learn more...
Discussion #1355 for Problem #17384. Konferencja [B]
Type: Editorial
Status: Open
Posted by: Milmon
Posted at: 2026-03-31 16:25:05
Last updated: 2026-03-31 16:25:41
题解
Comments
No comments yet.