Description Give a tree with n vertices,each edge has a length(positive integer less than 1001). Define dist(u,v)=The min distance between node u and ...
分类:
其他好文 时间:
2017-03-12 01:07:35
阅读次数:
226
Problem Description The inversion number of a given number sequence a1, a2, ..., an is the number of pairs (ai, aj) that satisfy i < j and ai > aj.For ...
分类:
其他好文 时间:
2017-03-10 23:41:29
阅读次数:
229
jstat -gcutil 9596 250 12jstat -<option> [-t] [-h<lines>] <vmid> [<interval> [<count>]] 参数解释:Options — 选项,我们一般使用 -gcutil 查看gc情况vmid — VM的进程号,即当前运行的jav ...
分类:
Web程序 时间:
2017-03-09 22:32:29
阅读次数:
639
function Tree() { this.lines = [ [1] ] } var pp = Tree.prototype pp.genNode = function(line, i) { var top = line - 1 ... ...
分类:
Web程序 时间:
2017-03-09 18:57:46
阅读次数:
194
当前的convert_imageset.exe版本做了一下修改 //status = ReadImageToDatum(root_folder + lines[line_id].first, //lines[line_id].second, resize_height, resize_width, ...
分类:
其他好文 时间:
2017-03-09 16:56:51
阅读次数:
269
面向对象的一些知识暂时告一段落,从本文开始,进入java语法的重学阶段~
分类:
编程语言 时间:
2017-03-09 12:04:22
阅读次数:
245
一、在using_marker/src中编写点和线代码 编写代码,其中有注释 在CMakeLists.txt中添加 二、编译工程 三、测试 1、运行编写的发布器 2、运行rviz进行设置 3、运行结果 ...
分类:
编程语言 时间:
2017-03-09 00:07:25
阅读次数:
873
计数排序 第10节 计数排序练习题 <!--more--> 对于一个int数组,请编写一个计数排序算法,对数组元素排序。 给定一个int数组A及数组的大小n,请返回排序后的数组。 测试样例: [1,2,3,5,2,3],6 [1,2,2,3,3,5] Java (javac 1.7) 代码自动补全 ...
分类:
编程语言 时间:
2017-03-08 21:17:24
阅读次数:
197
datalist 笔记: class:class="easyui-datalist" //对应标准元素:ul 表格线:lines="true" 远程数据绑定: url: 'datalist_data1.json',//路径 method: 'get' //请求方式 数据分组:groupField:" ...
分类:
其他好文 时间:
2017-03-08 18:50:49
阅读次数:
269
2:绘制y=x*x 的图像 3:figure 的认识 1 import matplotlib.pyplot as plt 2 import numpy as np 3 4 x=np.linspace(-3,3,50) 5 y1=2*x+1 6 y2=x**2 7 8 plt.figure() #看看 ...
分类:
编程语言 时间:
2017-03-08 18:46:30
阅读次数:
302