ICode9

精准搜索请尝试: 精确搜索
  • Bone Collector (HDU - 2602 )2022-05-14 20:35:37

    Many years ago , in Teddy’s hometown there was a man who was called “Bone Collector”. This man like to collect varies of bones , such as dog’s , cow’s , also he went to the grave …The bone collector had a big bag with a volume of V ,and along his trip o

  • 51Nod 2602 树的直径2022-02-02 14:32:12

    题目链接:51Nod 2602 树的直径 题目大意: 题解: 两遍\(dfs\),第一遍从根开始找到最深的结点,第二遍从最深的结点开始得到树的直径。 #include <cstring> #include <iostream> using namespace std; struct Edge { int v, next; } edge[200010]; int head[100010], cnt; int n, di

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有