四、String类概述及其构造方法 概述 字符串是由多个字符组成的一串数据(字符序列)字符串可以看成是字符数组 构造方法 public String()public String(byte[] bytes)public String(byte[] bytes,int offset,int lengt ...
分类:
其他好文 时间:
2018-08-18 17:38:52
阅读次数:
147
1 #coding:utf8 2 ''' 3 Created on 2018年8月18日 4 5 @author: Administrator 6 ''' 7 # from openpyxl import load_workbook 8 # 9 # wb=load_workbook("empty_b... ...
分类:
其他好文 时间:
2018-08-18 17:37:09
阅读次数:
140
1.) 2357数 单调队列或者搜索都行。 include include using namespace std; typedef long long ll; deque A[4]; int main() { ll N, x; scanf("%lld", &N); x = 1; while (x ...
分类:
其他好文 时间:
2018-08-18 16:25:56
阅读次数:
177
安装:1.到github下载:gitclonehttps://github.com/vuejs/vue-devtools2.在vue-devtools目录下安装依赖包cdvue-devtoolsnpminstall||cnpminstall--npm&cnpmi到文件夹shells下chrome下打开manifest.json文件把"persistent":false改
分类:
其他好文 时间:
2018-08-18 15:29:48
阅读次数:
141
1、引入时间插件所需要的js和css 1 <link href="<%=path %>/static/css/bootstrap-datetimepicker.min.css" rel="stylesheet" media="screen"> 1 <link href="<%=path %>/sta ...
分类:
编程语言 时间:
2018-08-18 14:25:38
阅读次数:
181
def solve(num_str): MAX, MIN = 65535, -65536 num_str_len = len(num_str) i = 0 while num_str[i] == ' ': i += 1 if i == num_str_len: return 0 is_neg = T... ...
分类:
其他好文 时间:
2018-08-18 13:19:12
阅读次数:
162
以下是我个人OI生涯中遇到的坑点的一个小总结,可能是我太菜了,总是掉坑里,请大佬勿喷1,多重背包的转移顺序 简单的多重背包模板,对于学过的人,大概清晰易懂吧 很相似的代码,只是改了转移顺序,但是为什么会错呢?类比01背包的倒序转移,考虑对于某种物品,标程中先枚举 j ,再枚举 k ,这样对于每个位置 ...
分类:
其他好文 时间:
2018-08-18 13:17:28
阅读次数:
147
一:定义 二:弗洛伊德的使用介绍 下面我们使用一个有三个顶点的图来进行讲解: (1)我们先定义两个二维数组D0[3][3]和P0[3][3] (2)处理两个数组 注意(重点): 初始化 处理后 三:弗洛伊德基本思想 核心思想是: D1[v][w] = min{D0[v][k] + D0[k][w], ...
分类:
编程语言 时间:
2018-08-18 11:27:54
阅读次数:
211
Using SPI to read a Barometric Pressure Sensor This example shows how to use the SPI (Serial Peripheral Interface) Communications Library to read data ...
分类:
其他好文 时间:
2018-08-18 11:27:33
阅读次数:
320
https://www.zybuluo.com/ysner/note/1253722 定义 允许恢复历史状态的并查集。 建立 建$Q$棵主席树,每个主席树上维护当前状态并查集各个节点的父亲。 (实际上就是并查集和主席树强行捆绑在一起) 操作 每次操作前自动继承上次操作后的状态。 合并$a,b$所在集 ...
分类:
其他好文 时间:
2018-08-17 23:37:47
阅读次数:
256