版本比较
题解:P8250 交友问题
正文
增加 2 行删除 2 行
106 行未改动全部展开10710810911011111111211311411510 行未改动1261271281291301301311321331343 行未改动106 行未改动全部展开 int x=*it; if(b[x]) ne[i].push_back(x); } e[i].clear(); } } for(int i=1;i<=q;i++) { int u=qu[i][0],v=qu[i][1]; if(u==v)10 行未改动 { int x=*it; if(x!=v&&edge[x].count(v)) cnt++; } cnt=in[u]-cnt; cnt=in[u]-cnt; print(cnt); putchar('\n'); } return 0;3 行未改动