526互联
首页
Ai
Java
Python
Android
Mysql
JavaScript
Html
CSS
1830A
【题解】CF1830A Copil Copac Draws Trees
你考虑对于每一条边打上时间标记,然后在树上 `DFS` 的时候维护一下以 $u$ 为根的答案即可,然后将答案合并,反正很简单,看代码就懂。 **code:** ```cpp #include using namespace std; const int NN = 2e5 + 8; int t,n; ......
题解
1830A
Copil
Copac
Draws
更新时间 2023-09-08
共1篇 :1/1页
首页
上一页
1
下一页
尾页