noip这么用不会CE吧
  • 板块学术版
  • 楼主maruize
  • 当前回复15
  • 已保存回复15
  • 发布时间2020/12/4 08:49
  • 上次更新2023/11/5 06:45:36
查看原帖
noip这么用不会CE吧
157677
maruize楼主2020/12/4 08:49
#include<bits/stdc++.h>
using namespace std;
typedef long long LL;
const int N=1e5+1000;
int head[N],num_edge;
struct Edge{int next,to;}ed[N];
void add(int from,int to){
	ed[++num_edge]={head[from],to};//here
	head[from]=num_edge;
}
2020/12/4 08:49
加载中...