题意:给你一棵树,让你求出每个点离树上最远的距离. ...不会做,想了半天查了题解。 对于每一个点最远距离,要么是往下走,要么是从父节点下来的。 dp[u][0]表示跑儿子路的最大值,dp[u][1]表示跑儿子路的次大值.为什么要记录次大值呢。 dp[u][2]表示往父亲那里跑的最大值. dp[v] ...
分类:
其他好文 时间:
2016-07-14 01:30:43
阅读次数:
168
一、什么是VNC? VNC (Virtual Network Computer)是虚拟网络计算机的缩写。VNC 是一款优秀的远程控制工具软件,由著名的 AT&T 的欧洲研究实验室开发的。VNC 是在基于 UNIX 和 Linux 操作系统的免费的开源软件,远程控制能力强大,高效实用,其性能可以和 W ...
分类:
其他好文 时间:
2016-07-13 13:34:51
阅读次数:
250
Computer Configuration/Administrative Templates/Network/Network Connections Prohibit installation and configuration of Network Bridge on your DNS doma ...
分类:
Web程序 时间:
2016-07-13 11:40:42
阅读次数:
289
编译和安装所需的依赖包 Xshell 5 (Build 0788) Copyright (c) 2002-2015 NetSarang Computer, Inc. All rights reserved. Type `help' to learn how to use Xshell prompt. ...
分类:
其他好文 时间:
2016-07-13 06:45:38
阅读次数:
228
计算机基础知识01.01_计算机基础知识(计算机概述)(了解)A:什么是计算机?计算机在生活中的应用举例计算机(Computer)全称:电子计算机,俗称电脑。是一种能够按照程序运行,自动、高速处理海量数据的现代化智能电子设备。由硬件和软件所组成,没有安装任何软件的计算机称为裸机。常见的形式有台式计算... ...
分类:
其他好文 时间:
2016-07-11 10:34:43
阅读次数:
193
Strategic Game Time Limit: 20000/10000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Description Bob enjoys playing computer games, espec ...
分类:
其他好文 时间:
2016-07-10 21:46:00
阅读次数:
215
关闭连接Xshell 5 (Build 0655)Copyright (c) 2002-2015 NetSarang Computer, Inc. All rights reserved.Type `help' to learn how to use Xshell prompt.[c:\~]$ telnet 120.55.*.* 8001Connecting to 120.55.*.*:8001....
分类:
编程语言 时间:
2016-07-10 19:23:47
阅读次数:
171
OpenCV全称:Open Source Computer Vision Library OpenCV是一个基于BSD许可(开源)发行的跨平台计算机视觉库,可以运行在Linux、Windows和Mac OS操作系统上。 OpenCV由C/C++语言编写,同时提供了Python、Ruby、MATLAB ...
分类:
其他好文 时间:
2016-07-09 17:44:13
阅读次数:
156
间接原则 All problems in computer science can be solved by another level of indirection, except of course for the problem of too many indirections. ——Davi ...
分类:
其他好文 时间:
2016-07-05 23:57:04
阅读次数:
358
顶级期刊 名称:ieee network主页网址:http://ieeexplore.ieee.org/xpl/RecentIssue.jsp?punumber=65 名称:journal of network and computer applications主页网址:http://www.sci ...
分类:
其他好文 时间:
2016-07-05 15:33:35
阅读次数:
163