<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1"> <title></title> <script sr... ...
分类:
Web程序 时间:
2020-10-13 17:07:25
阅读次数:
27
介绍 Cascading Style Sheets,CSS,层叠样式表。 注释:/**/ 创建 1、内联样式 <p style="color:red;line-height=15px">这是一个段落</p> 2、内部样式表 <style> p{color:red;line-height=15px} ...
分类:
Web程序 时间:
2020-10-12 20:29:50
阅读次数:
30
常用的三种方式: while read linedoecho $linedone < filename(待读取的文件) cat filename(待读取的文件) | while read linedoecho $linedone for line in `cat filename(待读取的文件)`d ...
分类:
系统相关 时间:
2020-10-12 20:17:26
阅读次数:
25
In our last example, we explored the scheduling of 2 factories. Both factories had 2 costs: Fixed Costs - Costs incurred while the factory is running ...
分类:
其他好文 时间:
2020-10-12 20:02:33
阅读次数:
27
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv ...
分类:
Web程序 时间:
2020-10-10 18:01:00
阅读次数:
36
public static void main(String[] args) { int v = 1; int[] a = {1,2,3,4,5}; int left = 0; int right = a.length - 1; while (left <= right) { int mid = ( ...
分类:
编程语言 时间:
2020-10-10 17:46:50
阅读次数:
31
几种循环的区别:until循环,只要特定条件为假,until语句就会执行。while循环只要特定条件为真,”while”语句就会执行for循环”for”循环总是接收“in”语句之后的某种类型的字列表。i++的意思其实就是i+1双小括号:一、echo$((16#5f))结果为95(16进位转十进制)二、重定义变量值,比如a=5;((a++))可将$a重定义为6数值比较参数:等于Isequaltoth
分类:
系统相关 时间:
2020-10-10 17:28:11
阅读次数:
33
LeetCode 142 环形链表II 问题描述: 给定一个链表,返回链表开始入环的第一个节点。 如果链表无环,则返回 null。 为了表示给定链表中的环,我们使用整数 pos 来表示链表尾连接到链表中的位置(索引从 0 开始)。 如果 pos 是 -1,则在该链表中没有环。 快慢指针 快指针每次走 ...
分类:
其他好文 时间:
2020-10-10 17:15:32
阅读次数:
15
// 双指针 var findContinuousSequence = function(target) { let res = [] let left = 1 let right = 2 while (left < right) { let sum = (left + right) * (righ ...
分类:
Web程序 时间:
2020-10-10 17:08:08
阅读次数:
18
checksec warmup_csaw_2016 Arch: amd64-64-little RELRO: Partial RELRO Stack: No canary found NX: NX disabled PIE: No PIE (0x400000) RWX: Has RWX segmen ...
分类:
其他好文 时间:
2020-10-10 17:07:34
阅读次数:
20