「JSOI2014」序列维护 "传送门" 其实这题就是 "luogu的模板线段树2" ,之所以要发题解就是因为被 $\color{black}{\text{M}} \color{red}{\text{_sea}}$ 告知了一种比较NB的 $\text{update}$ 的方式。 我们可以把修改操作统 ...
分类:
Web程序 时间:
2020-02-01 21:39:02
阅读次数:
84
package com.sjl.domain; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.stereotype.Component; i ...
分类:
编程语言 时间:
2020-02-01 12:26:08
阅读次数:
90
74. Search a 2D Matrix Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties: $\bullet$I ...
分类:
其他好文 时间:
2020-02-01 10:28:11
阅读次数:
56
选择器权值: 标签选择器:1 类选择器和伪类选择器:10 ID选择器:100 通配符选择器:0 行内样式:1000 !important 在一定条件下,优先级最高 常用的css样式命名 页面结构页头:header页面主体:main页尾:footer内容:content/container容器: co ...
分类:
Web程序 时间:
2020-01-31 14:33:41
阅读次数:
115
在某些情况下,不能找到一个合适的条件来划分区间,也就是说不能将整个区间划分为xxoo型。但是在求解的过程中可以不断的去掉一部分区间。 二分法的本质就是每次去掉一部分区间,所以这类问题可以用二分法的思路和模板来解决。而想到用二分需要从时间复杂度上考虑。比如一维的数组,如果brute force 需要O ...
分类:
其他好文 时间:
2020-01-31 14:04:59
阅读次数:
72
一. Nexus搜索 1. 概念:它是功能强大的Maven管理工具 2. 地址:http://repository.sonatype.org/ 3. 代理的仓库包括: (1) central:中央仓库 (2) JBoss (3) Java.net 二. Jarvana搜索 1. 地址:http:// ...
分类:
Web程序 时间:
2020-01-30 19:06:21
阅读次数:
134
1、遍历所有属性和方法 2、修改遍历到的属性的描述 3、Object.seal() Object.defineProperty(Object,'freezePolyfill',{ value:function(obj){ var i; //遍历属性和方法 for(i in obj){ if(obj. ...
分类:
其他好文 时间:
2020-01-29 18:21:16
阅读次数:
110
二叉树,每个节点键值大于左孩子,小于右孩子 和堆的区别,不一定是完全二叉树 可使用递归实现 存储键值对,可高效地实现插入、查找、删除 查找 插入 删除 普通数组 O(n) O(n) O(n) 顺序数组 O(logn) O(n) O(n) 二分搜索树 O(logn) O(logn) O(logn) 遍 ...
分类:
编程语言 时间:
2020-01-29 18:19:54
阅读次数:
86
List 转 JSONArray JSONArray 转 List String 转 List ...
分类:
Web程序 时间:
2020-01-29 10:24:36
阅读次数:
102
body, h1, h2, h3, h4, h5, h6, hr, p, blockquote, dl, dt, dd, ul, ol, li, button, input, textarea, th, td { margin: 0; padding: 0; } body { font size: ...
分类:
Web程序 时间:
2020-01-28 12:42:09
阅读次数:
196