摘要:
树形DP#include #include #include #include using namespace std; int indg[152],n,p,cnt,f[152][152],head[152],nex[302],to[302]; void inline read(int &x){ char ch=getchar();x=0; while(!isdigit(ch)... 阅读全文
posted @ 2018-05-09 20:36
lnyzo
阅读(247)
评论(0)
推荐(0)
摘要:
树链剖分裸题 唯一一个要注意的地方就是数据范围吧。计算时不写(long long)是会爆掉的 阅读全文
posted @ 2018-05-09 14:52
lnyzo
阅读(136)
评论(0)
推荐(0)

浙公网安备 33010602011771号