05 2020 档案
摘要:链式前项星: struct E { int to, w, next; }edge[N]; //这里千万要注意,如果题目是双向边的话,这里的N要开2*N int tot, head[N]; //加边 inline void add_edge(int u, int v, int w) { edge[to
阅读全文
摘要:题目传送门:https://vjudge.net/contest/373491
阅读全文
摘要:李超树 点分治 LCA(最近共同祖先) LIS(最长上升子序列) 仙人掌树 地克雷卷积 替罪羊树
阅读全文
摘要:对拍程序: freopen("in.txt","r",stdin); //输入重定向,输入数据将从in.txt文件中读取freopen("out.txt","w",stdout); //输出重定向,输出数据将保存在out.txt文件中duipai.bat@echo offfc out.txt out
阅读全文