最短路算法(一) 最短路算法有三种形态:Floyd算法,Shortset Path Fast Algorithm(SPFA)算法,Dijkstra算法。 我个人打算分三次把这三个算法介绍完。 (毕竟写太长了又没有人看QAQ……)但是这篇博客好像又双叒叕写的有点长,真的请各位耐心看完QAQ 今天先来介 ...
分类:
编程语言 时间:
2020-06-05 22:39:09
阅读次数:
82
public class A { private B b; private C c; public B getB() { return b; } public void setB(B b) { this.b = b; } public C getC() { return c; } public vo ...
分类:
Web程序 时间:
2020-06-05 15:36:29
阅读次数:
94
JCB Electronic Service Tool Diagnostic Interface is used for fast and effective fault finding, check maintenance standards, see if the machine has bee ...
分类:
其他好文 时间:
2020-06-04 20:00:49
阅读次数:
70
JCB Electronic Service Tool Diagnostic Interface is used for fast and effective fault finding, check maintenance standards, see if the machine has bee ...
分类:
其他好文 时间:
2020-06-04 19:34:14
阅读次数:
65
jQuery 滑动方法 通过 jQuery,您可以在元素上创建滑动效果。 jQuery 拥有以下滑动方法: slideDown() slideUp() slideToggle() jQuery slideDown() 方法 jQuery slideDown() 方法用于向下滑动元素。 语法: $(s ...
分类:
Web程序 时间:
2020-06-04 18:12:46
阅读次数:
132
1、 测试环境准备 jmeter地址: https://jmeter.apache.org/download_jmeter.cgi 2、 连接数 调整 总共连接数 = acceptCount+ connections connections: Tomcat能接收的请求限制; acceptCount: ...
分类:
其他好文 时间:
2020-06-04 15:21:14
阅读次数:
65
下面是我自己写的脚本: #!/bin/bash # author TommyWang # website http://dynmi.top fast_ip=`nslookup github.global.ssl.fastly.Net|egrep '[[:digit:]]{1,3}\.[[:digit ...
分类:
系统相关 时间:
2020-06-04 13:42:21
阅读次数:
139
链表的一个结点的结构体如下: type LNode struct { value int next *LNode } 对于一个单链表,如果他要存在环,那么至少存在两个节点,也就是说最后一个结点的next指向了前面的某个结点。 所以在判断链表是否存在环的时候,我们添加快慢两个指针fast和slow,f ...
分类:
其他好文 时间:
2020-06-04 13:36:46
阅读次数:
69
1.摘要: 关于LIS部分,本篇博客讲一下LIS的概念定义和理解,以及求LIS的三种方法,分别是O(n^2)的DP,O(nlogn)的二分+贪心法,以及O(nlogn)的树状数组优化的DP,最后附上几道非常经典的LIS的例题及分析。 2.LIS的定义: 最长上升子序列(Longest Increas ...
分类:
其他好文 时间:
2020-06-04 01:48:57
阅读次数:
91
1、官网下载: https://jmeter.apache.org/download_jmeter.cgi 下载后解压; 2、安装 免安装,解压后,bin目录下双击jmeter.bat,会直接打开 会先弹出一个(不能关掉,关掉后jmeter会被关掉) 随后会打开jmeter本尊; ...
分类:
其他好文 时间:
2020-06-03 20:10:26
阅读次数:
52