1. 插入排序 /** * 升序排列:每个数都一步一步往前找到自己的位置,前面的数是排序好的。 *算法复杂度:O(n*n) */ public static void getInsertSort(int[] a) { if(a == null || a.length == 0) { System.o ...
分类:
编程语言 时间:
2019-07-19 19:06:01
阅读次数:
96
1、MyWebSocket 2、WebSocketConfig 3、Application 4、Test.html ...
分类:
编程语言 时间:
2019-07-19 11:01:31
阅读次数:
111
首先我们可以把答案差分,那么我们只需要求出$1$~$x$范围内的满足条件的数即可. 题目要求的应该是这个东西的个数: $l \leq a b^c \leq r(1 \le a 3$显然不需要考虑. 1. $c 3$且$c$是偶数. 显然$a b^{2k}=a ({b^k})^2$,显然如果$a1)$ ...
分类:
其他好文 时间:
2019-07-18 23:56:49
阅读次数:
262
一、首先准备好系统安装盘,使用安装盘启动:选择:Troubleshooting二、进入到Troubleshooting界面选择:RescueaCentOSLinuxsystem三:进入到Rescue选项按ENTER键选11)continue:救援模式程序会自动查找系统中已有的文件系统,并可读写挂载到/mnt/sysimage目录下。2)Read-Only:会以只读的方式挂载已有的文件系统。3)Sk
分类:
其他好文 时间:
2019-07-18 21:23:13
阅读次数:
219
Lambda 用在基于方法的 LINQ 查询中 Lambda 表达式无法从封闭方法中直接捕获 ref 或 out 参数。 Lambda 表达式中的返回语句不会导致封闭方法返回。 Lambda 表达式不能包含其目标位于所包含匿名函数主体外部或内部的 goto 语句、break 语句或 continue ...
分类:
其他好文 时间:
2019-07-17 20:21:47
阅读次数:
100
Description There is a rectangular room, covered with square tiles. Each tile is colored either red or black. A man is standing on a black tile. From ...
分类:
其他好文 时间:
2019-07-16 20:05:48
阅读次数:
148
Implement atoi which converts a string to an integer. The function first discards as many whitespace characters as necessary until the first non white ...
分类:
其他好文 时间:
2019-07-16 08:24:55
阅读次数:
85
Given an array nums of n integers, are there elements a, b, c in nums such that a + b + c = 0? Find all unique triplets in the array which gives the s ...
分类:
其他好文 时间:
2019-07-16 08:24:40
阅读次数:
100
情景五:批量修改ssh密码 拿到官方靶机第一件事改自己机器的ssh密码,当然也可以改别人的密码~ 情景六:批量种马 审计源码第一件事可能就找到官方的预留后门,开始第一波种马 ,这里用脚本直接用官方的马种不死马 ...
分类:
其他好文 时间:
2019-07-16 08:14:14
阅读次数:
241