//字符串 1. includes(str) : 判断是否包含指定的字符串 2. startsWith(str) : 判断是否以指定字符串开头 3. endsWith(str) : 判断是否以指定字符串结尾 4. repeat(count) : 重复指定次数 //数值 1. 二进制与八进制数值表示法 ...
分类:
编程语言 时间:
2018-11-10 15:08:46
阅读次数:
172
You are given a data structure of employee information, which includes the employee's unique id, his importance value and his direct subordinates' id. ...
分类:
其他好文 时间:
2018-11-06 22:29:38
阅读次数:
143
You are given a data structure of employee information, which includes the employee's unique id, his importance value and his direct subordinates' id. ...
分类:
编程语言 时间:
2018-11-03 11:17:45
阅读次数:
152
Source https://onlinejudge.u-aizu.ac.jp/problems/ALDS1_10_C Description Time Limit : 1 sec , Memory Limit : 131072 KB Time Limit : 1 sec , Memory Limi ...
分类:
其他好文 时间:
2018-11-02 21:43:17
阅读次数:
164
1.新建工程 点击File选择New->CProject,出现C projec 窗口后,在project name 填写自己的工程名,在Project type下选择Bare-metal Executable(可执行裸机)文件夹下的Empty Project,Toolchains 选择ARMComp ...
分类:
其他好文 时间:
2018-11-01 16:11:19
阅读次数:
187
开发的一个maven项目,之前在Eclipse中,maven打包部署完后一切正常,后来转到idea中开发,再用maven打包部署后, 一直报 Invalid bound statement (not found)错误,捣鼓了半天检查,后来发现打出来的war包里没有mapper对应的xml文件 ,解决 ...
分类:
其他好文 时间:
2018-10-30 23:50:16
阅读次数:
223
ES7只有2个特性: includes() 指数操作符 不使用ES7 使用indexOf()验证数组中是否存在某个元素,这时需要根据返回值是否为-1来判断: 使用ES7 使用includes()验证数组中是否存在某个元素,这样更加直观简单: 指数操作符 不使用ES7 使用自定义的递归函数calcul ...
分类:
其他好文 时间:
2018-10-30 18:50:59
阅读次数:
160
maven pom 引入本地jar包 1. 在pom.xml同级目录下新建lib文件夹,并放入本地jar包。 2. 配置Jar包的dependency,包括groupId,artifactId,version三个属性,同时还要包含scope和systemPath属性,分别指定Jar包来源于本地文件, ...
分类:
编程语言 时间:
2018-10-29 22:54:36
阅读次数:
181
ES6字符串方法: //console.log(String.prototype); var str = "abcdefabc"; //console.log(str.includes("a"));//结果true //console.log(str.includes("abf"));//结果fal ...
分类:
编程语言 时间:
2018-10-29 21:37:26
阅读次数:
119
1、打开admin/includes/lib_main.php文件(1)找到:(大约在306-323行左右)/*** 生成编辑器* @param string input_name 输入框名称* @param string input_value 输入框值*/function create_html ...
分类:
其他好文 时间:
2018-10-27 19:50:02
阅读次数:
233