dfs
文章平均质量分 85
Error:NAN
这个作者很懒,什么都没留下…
展开
-
Gardener and Tree
A tree is an undirected connected graph in which there are no cycles. This problem is about non-rooted trees. A leaf of a tree is a vertex that is connected to at most one vertex.The gardener Vitaly grew a tree from n vertices. He decided to trim the tree原创 2021-10-20 13:09:28 · 263 阅读 · 0 评论 -
The Number of Imposters
D. The Number of Imposters time limit per test3 seconds memory limitper test256 megabytes inputstandard input outputstandard outputTheofanis started playing the new online game called “Among them”.However, he always plays with Cypriot players, and they.原创 2021-10-09 20:58:48 · 317 阅读 · 0 评论