D. MEX Tree
这题需要维护一条链,如果在同一条链上,但是不在这条链上,那么
设表示包含的路径数,然后算出每个后容斥就好了。
具体看写法。
这题2400难度,果然2400难度的题都是有一些想法但是写不出来的题。
#incl…
[Vue warn]: Unknown custom element: <usertree> - did you register the component correctly? For recursive components, make sure to provide the "name" option. 网上的解决方案没有提及到这种情况的,忘了已经定义了一个components: {}了,…