摘要:
C. An impassioned circulation of affection time limit per test 2 seconds memory limit per test 256 megabytes C. An impassioned circulation of affectio 阅读全文
摘要:
题目描述 H 国有 n 个城市,这 n 个城市用 n-1 条双向道路相互连通构成一棵树,1 号城市是首都, 也是树中的根节点。 H 国的首都爆发了一种危害性极高的传染病。当局为了控制疫情,不让疫情扩散到边境 城市(叶子节点所表示的城市),决定动用军队在一些城市建立检查点,使得从首都到边境 城市的每一 阅读全文