可能是代码不规范,在力扣端编译环境下出错:Line 35: Char 10: runtime error: load of value 64, which is not a valid value for type 'bool' (solution.cpp)。 在VS环境下没有问题。先搁置问题,以后 ...
分类:
编程语言 时间:
2020-07-01 12:29:34
阅读次数:
375
1、H3C NQA、静态路由联动# 创建管理员名为admin、操作标签为test的NQA测试组[SwitchA] nqa entry admin test# 配置测试类型为ICMP-echo[SwitchA-nqa-admin-test] type icmp-echo# 配置测试的目的地址为10.2 ...
分类:
其他好文 时间:
2020-06-30 22:33:05
阅读次数:
870
binarySearch()方法的返回值为: 1、如果找到关键字,则返回值为关键字在数组中的位置索引,且索引从0开始 2、如果没有找到关键字,返回值为负的插入点值,所谓插入点值就是第一个比关键字大的元素在数组中的位置索引,而且这个位置索引从1开始。 注意:调用binarySearch()方法前要先调 ...
分类:
其他好文 时间:
2020-06-30 22:18:17
阅读次数:
47
string path = "test.txt"; FileStream fs = new FileStream(path, FileMode.Open); StreamReader sr = new StreamReader(fs); char[] separator = new char[] { ...
sql-labs一定要选php5.3.29nts否则会多个\ Hint: Your Input is Filtered with following result: 1\' 解决办法: ...
分类:
数据库 时间:
2020-06-30 20:42:35
阅读次数:
66
今天上线时候碰到这么一个问题:由于上游生产者地址修改了,项目里面原来的消费者地址也要跟着修改。由于项目里面有两个消费者,之前的地址都是一样的。但是是两个不同的消费者,业务也是不同的。但是今天修改了第一个消费者的地址后,通过rocketmq的界面 发现 第二个的实例竟然也跑到了第一个上面。 问题如下: ...
分类:
其他好文 时间:
2020-06-30 20:39:06
阅读次数:
89
` public class MapUtil { public static Map<String, Object> keyToLowerCase(Map<String, Object> orgMap) { Map<String, Object> resultMap = new HashMap<>( ...
分类:
其他好文 时间:
2020-06-30 17:44:42
阅读次数:
243
this.wxInfo.redirect_uri = encodeURIComponent(window.location.href); var h = "https://open.weixin.qq.com/connect/oauth2/authorize?appid=" + this.wxInf ...
分类:
微信 时间:
2020-06-30 17:39:40
阅读次数:
150
push远程仓库遇到报错 remote: Invalid username or password. fatal: Authentication failed 1、首先配置用户信息 git config --global user.name [username] git config --globa ...
分类:
其他好文 时间:
2020-06-30 17:17:34
阅读次数:
49
函数: 1.函数声明 kotlin中的函数使用fun关键字声明: fun double(x: Int): Int { return 2 * x } 2.函数用法 调用函数使用传统的方法: val result = double(2) 调用成员函数使用点表示法: Stream().read() // ...
分类:
其他好文 时间:
2020-06-30 17:16:06
阅读次数:
71