jizichen @ 2024-11-02 15:58:42
如果要用异或判边,像这样的话
if(i==(in_edg^1)) continue;
记得打前向星的时候sum初始值等于1
int sum=1;
void add(int u,int v){
e[++sum]={head[u],u,v};
head[u]=sum;
}
by qzwzzhengpengda @ 2024-11-02 16:37:47
被进食啦
by KW_KL @ 2024-11-02 16:53:37
已阅,被史山代码调教后被楼主进食(