题目链接 维护一个区间最小值同时维护一个区间最小值的减法 #include <bits/stdc++.h> using namespace std; const int N = 100010; int a[N]; int n,k; struct node{ int l,r; int v,add; } ...
分类:
其他好文 时间:
2021-05-04 16:06:56
阅读次数:
0
1. 算术运算 add(other) 比如进行数学运算加上一个具体数字 data["open"].add(10) # open列加10 # data["open"] + 10 # 一般不这么写 sub(other) 用法同add 2. 逻辑运算 2.1. 逻辑运算符号 逻辑运算类型:>, >=, < ...
分类:
其他好文 时间:
2021-05-04 16:04:10
阅读次数:
0
makefile makefile|Makefile 目标:依赖 tab键 规则命令 版本一 app:main.c add.c gcc -o app -I./include main.c add.c 版本二 app: main.o add.o gcc -o app -I./include main. ...
分类:
编程语言 时间:
2021-05-04 15:41:38
阅读次数:
0
MySQL学习(二) DML语言 数据库意义 : 数据存储、数据管理 管理数据库数据方法: 通过Navicat、SQLyog等管理工具管理数据库数据 通过DML语句管理数据库数据 DML语言 :数据操作语言 用于操作数据库对象中所包含的数据 包括 : INSERT (添加数据语句) UPDATE ( ...
分类:
数据库 时间:
2021-05-04 15:29:53
阅读次数:
0
Computer Networking: a Top-Down Approach (8th ed.) : Select Lectures Notes Navigator 1 Resources and Introduction 2 Chapter 1: Introduction 3 Chapter ...
分类:
Web程序 时间:
2021-05-04 15:21:01
阅读次数:
0
\(\text{Problem}:\)Substrings in a String \(\text{Solution}:\) 考虑分块,对每个块建出后缀自动机。 修改:暴力重建 \(i\) 所在块的 \(\text{SAM}\)。 查询:分类讨论处理。 若 \(\lvert s\rvert> B\) ...
分类:
其他好文 时间:
2021-05-04 15:19:13
阅读次数:
0
untrack表示是新文件,没有被add过,是为跟踪的意思。 not staged 表示add过的文件,即跟踪文件,再次修改没有add,就是没有暂存的意思 具体看: https://git-scm.com/book/zh/v2/Git-%E5%9F%BA%E7%A1%80-%E8%AE%B0%E5% ...
分类:
其他好文 时间:
2021-05-04 15:14:56
阅读次数:
0
/* 写一个计算器,要求实现加减乘除功能, 并且能够循环接收新的数据,通过用户交互实现 分析:写四个方法加减乘除 利用循环加switch进行用户交互 传递需要操作的两个数 输出结果 */ public class Demo05 { //加法 public static double add(doub ...
分类:
编程语言 时间:
2021-05-03 12:41:29
阅读次数:
0
在介绍spring的启动之前,先来说下启动过程中使用到的几个类 基本组件 1、BeanFactory:spring底层容器,定义了最基本的容器功能,注意区分FactoryBean 2、ApplicationContext:扩展于BeanFactory,拥有更丰富的功能。例如:添加事件发布机制、父子级 ...
分类:
编程语言 时间:
2021-05-03 12:18:32
阅读次数:
0
all privileges权限有哪些: select, insert, update, delete, create, drop,references, index,alter,create temporary tables,lock tables,execute,create view,show ...
分类:
数据库 时间:
2021-05-03 12:11:00
阅读次数:
0