【题目描述】 Given an integer array (index from 0 to n-1, where n is the size of this array), and an query list. Each query has two integers[start, end]. Fo ...
分类:
其他好文 时间:
2018-02-17 22:05:41
阅读次数:
146
【题目描述】 Given an integer array (index from 0 to n-1, where n is the size of this array), and an query list. Each query has two integers[start, end]. Fo ...
分类:
其他好文 时间:
2018-02-17 20:30:15
阅读次数:
241
【题目描述】 Given an integer array (index from 0 to n-1, where n is the size of this array), and an query list. Each query has two integers[start, end]. Fo ...
分类:
其他好文 时间:
2018-02-17 20:29:46
阅读次数:
208
Python 学习之路(二) 以下所用的是Python 3.6 一、条件语句 简单判断 复杂判断 二、循环语句 2.1 while语句 和其他语言一样,不同的是多了else语句。在 python 中,while … else 在循环条件为 false 时执行 else 语句块。 例子: 2.2 fo ...
分类:
编程语言 时间:
2018-02-13 19:52:23
阅读次数:
196
解释一下Linux上free命令的输出。 下面是free的运行结果,一共有4行。为了方便说明,我加上了列号。这样可以把free的输出看成一个二维数组FO(Free Output)。例如: FO[2][1] = 24677460 FO[3][2] = 10321516 1 2 3 4 5 61 tot ...
分类:
系统相关 时间:
2018-02-11 10:46:10
阅读次数:
210
java集合类的使用可以说是无处不在,总的我们可以将之分为三大块,分别是从Collection接口延伸出的List、Set和以键值对形式作存储的Map类型集合。 许多情况需要我们遍历出集合中的元素,并做相应的处理。 下面对各种类型的集合的遍历做一些总结,关于增强for循环,需要注意的是,使用增强fo ...
分类:
编程语言 时间:
2018-02-06 01:19:24
阅读次数:
167
最近在使用vue作为前端框架开发,由于使用到了数据绑定的功能,故而发现了一个盲区,在此爬上一坑,分享大家~ vue不会检测开始是空值的数据,或者说vue的数据监控属性的增减。举个栗子(1)传入数据为: var objData = {"name":"123"};(2)在模版中使用为 <div v-fo ...
分类:
其他好文 时间:
2018-02-04 11:08:19
阅读次数:
149
本文引用自:http://blog.csdn.net/wangchangshuai0010/article/details/12714575 java.sql.SQLException: Incorrect string value: '\xE6\x88\x91\xE7\x9A\x84...' fo ...
分类:
数据库 时间:
2018-02-02 20:18:08
阅读次数:
220
1、脚本如下 (1)倒三角格式的,注意行前的空格 for i in range(1,10): for j in range(i,10): print("%d*%d=%d" % (i,j,i*j),end=" ") print("") (2)长方形格式 for i in range(1,10): fo ...
分类:
编程语言 时间:
2018-01-31 20:15:28
阅读次数:
1313
public class SerialTest { public static void main(String[] args) throws IOException { //序列化 Person person=new Person(1234,"wang"); FileOutputStream fo... ...
分类:
其他好文 时间:
2018-01-31 14:29:38
阅读次数:
117