萌新妹子求助

P3806 【模板】点分治 1

所以应该叫大佬汉子求助【狗头】
by gongcharlie @ 2020-01-30 21:47:04


`鉴定完毕,不是妹子`
by zimujun @ 2020-01-30 21:47:06


orz 神Meatherm
by SisconHL @ 2020-01-30 21:48:04


@[hepta_lhd](/user/182691) /kel 您帮我康康罢
by Meatherm @ 2020-01-30 21:49:57


@[Meatherm](/user/108949) 又小又强 我再也比不过ta了
by zimujun @ 2020-01-30 21:50:59


窝不会(大哭
by SisconHL @ 2020-01-30 21:52:29


@[Meatherm](/user/108949) 您这个是假的算法吧,要去掉子树内的情况
by Register @ 2020-01-30 21:53:27


神Meatherm
by 茅场晶彦 @ 2020-01-30 21:55:21


@[songhaoran](/user/80679) % 神仙 shr 我在 `work()` 里面写了的吧,还是说我写假了? ```cpp void work(int i){ use[i]=true; calc(i,0,1); for(rr int j=head[i];j;j=edge[j].next){ if(use[edge[j].to]) continue; calc(edge[j].to,edge[j].v,-1);// 这里 root=0,tot=size[edge[j].to]; getroot(edge[j].to,0); work(root); } return; } ```
by Meatherm @ 2020-01-30 21:57:00


~~不是袜子,走了走了~~
by SSerxhs @ 2020-01-30 21:57:29


| 下一页