码迷,mamicode.com
首页 >  
搜索关键字:continue    ( 5224个结果
排序算法
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
SpringBoot 整合websocket
1、MyWebSocket 2、WebSocketConfig 3、Application 4、Test.html ...
分类:编程语言   时间:2019-07-19 11:01:31    阅读次数:111
TopCoder12584 SemiPerfectPower
首先我们可以把答案差分,那么我们只需要求出$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
CentOS7救援模式--光盘
一、首先准备好系统安装盘,使用安装盘启动:选择:Troubleshooting二、进入到Troubleshooting界面选择:RescueaCentOSLinuxsystem三:进入到Rescue选项按ENTER键选11)continue:救援模式程序会自动查找系统中已有的文件系统,并可读写挂载到/mnt/sysimage目录下。2)Read-Only:会以只读的方式挂载已有的文件系统。3)Sk
分类:其他好文   时间:2019-07-18 21:23:13    阅读次数:219
一个字符串里面aAd123sdacD12dad2,然后遇到数字取第一个,后面的数字用来分隔
实现结果如下: ...
分类:其他好文   时间:2019-07-18 13:46:37    阅读次数:150
Lambda表达式
Lambda 用在基于方法的 LINQ 查询中 Lambda 表达式无法从封闭方法中直接捕获 ref 或 out 参数。 Lambda 表达式中的返回语句不会导致封闭方法返回。 Lambda 表达式不能包含其目标位于所包含匿名函数主体外部或内部的 goto 语句、break 语句或 continue ...
分类:其他好文   时间:2019-07-17 20:21:47    阅读次数:100
POJ 1979 Red and Black
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
8 String to Integer (atoi)
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
9 3Sum
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
AWD攻防工具脚本汇总(二)
情景五:批量修改ssh密码 拿到官方靶机第一件事改自己机器的ssh密码,当然也可以改别人的密码~ 情景六:批量种马 审计源码第一件事可能就找到官方的预留后门,开始第一波种马 ,这里用脚本直接用官方的马种不死马 ...
分类:其他好文   时间:2019-07-16 08:14:14    阅读次数:241
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!