maven打包时报错: 报错信息: 解决方法: ...
分类:
其他好文 时间:
2019-07-05 22:42:36
阅读次数:
272
求$E({B(x)}^2)$,考虑$B(x)$为每一位与前一位不同的期望次数 令$A(x)$表示第$x$位与第$x-1$位不同的概率,特别地,$A(1)=1$ $$E({B(x)}^2)=E({(\sum_{i=1}^n A(i))}^2)$$ 把式子展开得, $$E({B(x)}^2)=\sum_ ...
分类:
其他好文 时间:
2019-07-05 12:56:53
阅读次数:
90
一、环境: 系统:win7 版本:Python 3.7.2 (32位) 二、问题: 利用Pyinstaller封装exe 时, 报错:TypeError: expected str, bytes or os.PathLike object, not NoneType 如下图: 三、解决方法: 1.这 ...
分类:
编程语言 时间:
2019-07-03 00:44:01
阅读次数:
1206
承接上篇:fastjson反序列化LocalDateTime失败的问题java.time.format.DateTimeParseException: Text '2019-05-24 13:52:11' could not be parsed at index 10 之前在线上用的版本是fastj ...
分类:
编程语言 时间:
2019-06-18 14:18:04
阅读次数:
183
selenium:from selenium import webdriver 安装:pip install seleniumtime:import time等待时间:from selenium.webdriver.support.wait import WebDriverWait 等待条件:fro ...
分类:
Web程序 时间:
2019-06-13 01:08:37
阅读次数:
192
java.lang.IllegalStateException: Unexpected use of scheduler. 在启动类加: ...
分类:
编程语言 时间:
2019-06-12 19:57:06
阅读次数:
290
##################################################### ## 等待时间 ##################################################### """ expected_conditions 类提供的常见方法 t... ...
分类:
其他好文 时间:
2019-06-12 18:16:28
阅读次数:
95
D. Ehab and the Expected XOR Problem Given two integers n and x, construct an array that satisfies the following conditions: for any element ai in the ...
分类:
其他好文 时间:
2019-06-11 00:52:20
阅读次数:
124
在运行测试时,有时需要直接跳过某些测试用例,或者当用例符合某个条件时跳过测试。 unittest提供了相应的装饰器: ...
分类:
其他好文 时间:
2019-06-09 12:46:34
阅读次数:
117
| A | B | C | D | E | F | | : : | : : | : : | : : | : : | : : | | 构造 | 排序 | 贪心,筛法 | 异或,前缀和 | 计数问题 | 点分治 | | 1000 | 1200 | 1300 | 1900 | 2500 | 2300 | ...
分类:
其他好文 时间:
2019-06-07 17:52:31
阅读次数:
110