08 2022 档案
摘要:###模板 点击查看代码 struct CHT{ int q[maxn]; //存决策点标号 ll X(int pos){/* */} ll Y(int pos){/* */} double get_K(int x,int y){ return (double)(Y(x)-Y(y))/(double
阅读全文
摘要:1. D2. Xor-Subsequence (hard version) 题解 easy版本 点击查看代码 #include <bits/stdc++.h> #define ll long long #define pa pair<int,int> #define mp make_pair #de
阅读全文
摘要:##模板 [CQOI2016]手机号码 点击查看代码 #include<functional> #include<algorithm> #include<iostream> #include<cstdlib> #include<cstring> #include<complex> #include<
阅读全文
摘要:1.郊区春游 设表示当前状态为st,最后一个点为i的最短距离 点击查看代码 #include<functional> #include<algorithm> #include<iost
阅读全文
摘要:1.二叉苹果树 树上背包 点击查看代码 #include<functional> #include<algorithm> #include<iostream> #include<cstdlib> #include<cstring> #include<complex> #include<string>
阅读全文