http://acm.hdu.edu.cn/showproblem.php?pid=2196 题意: 给出一棵树,求出每个点到其他点的最远距离。 思路:对于每一个点,一方面它可以往它的子树方向走,另一方面可以往父亲结点的方向走。所以我们需要两次dfs,第一次用来求出每个点往其子树方向的最远距离和次远 ...
分类:
其他好文 时间:
2017-02-12 21:08:43
阅读次数:
218
Anomaly detection In this exercise, you will implement an anomaly detection algorithm to detect anomalous behavior in server computers. The features m ...
分类:
系统相关 时间:
2017-02-11 16:46:26
阅读次数:
700
(1)when you ping a computer from itsafe,the ping command should return the local IP address. (2)windows系统环境变量与用户环境变量的作用、区别 环境变量的作用: 目前就只知道一个作用,在使用dos窗 ...
从ArcGIS的数据源入手,自己升级ArcGIS for Desktop到10.2.0,然后用该版本ArcGIS软件重新导出数据,竟然还是乱码。经咨询ArcGIS技术支持,技术支持说必须保证shp文件中有一个.cpg文件。必须要用ArcGIS for Desktop 10.2.1及 以上版本,问题又 ...
分类:
其他好文 时间:
2017-02-08 14:49:34
阅读次数:
7121
机器学习 什么是机器学习?业界有如下定义: ? ArthurSamuel(1959).MachineLearning:Fieldof study that gives computers the ability to learn without being explicitly programmed ...
分类:
其他好文 时间:
2017-02-06 14:21:13
阅读次数:
281
Team Queue Problem Description Queues and Priority Queues are data structures which are known to most computer scientists. The Team Queue, however, is ...
分类:
其他好文 时间:
2017-02-05 22:49:23
阅读次数:
220
Accounting for Computer Machinists (ACM) has sufferred from the Y2K bug and lost some vital data for preparing annual report for MS Inc. All what they ...
分类:
其他好文 时间:
2017-02-04 19:57:29
阅读次数:
297
云计算: sun 最早提出“Network is the computer” amazon 退出弹性计算云服务EC2 Google首次提出与计算概念 ... 云计算持续爆发增长 ...
分类:
其他好文 时间:
2017-02-03 22:05:18
阅读次数:
193
新年第一篇博客,最近几天走亲访友的没有学习。今天开始进入学习模式。 接下来是js代码,也是精华 var over=false;//游戏是否结束 //构造赢法数组 var wins=[]; for(var i=0;i<15;i++){ wins[i]=[]; for(var j=0;j<15;j++) ...
分类:
Web程序 时间:
2017-02-01 14:07:26
阅读次数:
276
题意: 电脑公司生产电脑有N个机器,每个机器单位时间产量为Qi。 电脑由P个部件组成,每个机器工作时只能把有某些部件的半成品电脑(或什么都没有的空电脑)变成有另一些部件的半成品电脑或完整电脑(也可能移除某些部件)。求电脑公司的单位时间最大产量,以及哪些机器有协作关系,即一台机器把它的产品交给哪些机器 ...
分类:
其他好文 时间:
2017-01-29 22:14:15
阅读次数:
317