2023年8月21日
摘要: 来源于 https://vjudge.net/problem/CodeForces-291E void init(int x,int fa){ val[x]=val[fa]*S+(ul)c[x]; f[x][0]= fa; for (int i=1;i<20;++i) f[x][i]=f[f[x][ 阅读全文
posted @ 2023-08-21 14:34 towboat 阅读(8) 评论(0) 推荐(0)