会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
zgym
博客园
首页
新随笔
联系
订阅
管理
2019年7月16日
树的直径dp模板
摘要: 1 #include 2 #include 3 #include 4 using namespace std; 5 const int N=100005; 6 int n,m,t,ans; 7 int f1[N],f2[N]; 8 int first[N],v[N],w[N],next[N]; 9 void add(int x,int y,int z) 10 { 11 ...
阅读全文
posted @ 2019-07-16 21:34 zgym
阅读(271)
评论(1)
推荐(1)
编辑
公告