摘要:
"洛谷P1967" 用倍增法,fa[i][j]表示节点i向上 2^j步所能到大的点 minx[i][j]表示i向上2^j步所经过的最小边 include include include define LL long long using namespace std; const int MAXN = 阅读全文
摘要:
"题目←" 存一波匈牙利板子 check数组还是老老实实for一遍更新吧,回溯的时候更新容易出事 //: ) include include include include define LL long long using namespace std; const int MAXN = 1000 阅读全文
摘要:
"题目←" 在wwq大佬博客发现的,将数论知识点总结的很好的题 也可以用杨辉三角求组合数,不过就跟着大佬练扩欧吧…… include include include define LL long long define P 10007 using namespace std; const int M 阅读全文