摘要:
树和图的框架 #include<iostream> #include<algorithm> using namespace std; const int N = 10010; int h[N], e[N], ne[N], idx; //a所对应的单链表中插入b a作为根 void add(int a 阅读全文
posted @ 2024-07-29 14:27
某朝
阅读(26)
评论(0)
推荐(0)
摘要:
董晓的宽搜模板 #include <iostream> #include <cstring> #include <algorithm> #include <queue> using namespace std; const int N = 100010; int n, m, a, b; vector 阅读全文
posted @ 2024-07-29 11:21
某朝
阅读(25)
评论(0)
推荐(0)