Element implicitly has an 'any' type because expression of type 'any' can't be used to index type 'typeof 备注: 元素隐式地具有“ any”类型,因为类型“ string”的表达式不能用于索引类 ...
分类:
其他好文 时间:
2020-07-02 16:34:42
阅读次数:
634
错误信息 Cannot resolve method Void .ctor(Int32, Int32, System.Decimal, System.Decimal) because the declaring type of the method handle System.ValueTuple` ...
分类:
Web程序 时间:
2020-06-28 18:38:02
阅读次数:
69
问题: 给定由【姓名,时间,数额,城市】组成的交易信息数组。 求无效交易的数组。 无效:1 or 2满足 1,数额>1000 2,相同姓名,不同城市,时间差<60 Example 1: Input: transactions = ["alice,20,800,mtv","alice,50,100,b ...
分类:
其他好文 时间:
2020-06-28 12:36:38
阅读次数:
52
修改了数据库表名之后,更新数据库时跳错: django.db.utils.NotSupportedError: Renaming the 'app_class' table while in a transaction is not supported on SQLite because it wo ...
分类:
数据库 时间:
2020-06-26 18:10:51
阅读次数:
72
最近测试Zabbix 5.0,去修改语言时发现不能选择“Chinese(zh_CN)”,这个选项在下拉框中是灰色的(无法选择)。提示“You are not able to choose some of the languages, because locales for them are not ...
分类:
编程语言 时间:
2020-06-25 21:34:13
阅读次数:
69
题目做法大概就是点分治然后背包 前置知识 点分治 应用场景: 求树上距离为k的点对数|是否存在 路径为k且有限制条件 总之就是dfs暴力会超时的优化 点分治第一步首先要找到一棵树的重心 然后再根据重心来进行分治 judge i 距离当前根为i的点是否存在 dis i 点i与当前根的距离 点分治模板 ...
分类:
其他好文 时间:
2020-06-25 21:29:02
阅读次数:
48
The exit code is 1 because nothing was matched by grep. EXIT STATUS The exit status is 0 if selected lines are found, and 1 if not found. If an error ...
分类:
系统相关 时间:
2020-06-24 16:28:13
阅读次数:
81
最近测试Zabbix 5.0,去修改语言时发现不能选择“Chinese(zh_CN)”,这个选项在下拉框中是灰色的(无法选择)。提示“You are not able to choose some of the languages, because locales for them are not ... ...
分类:
编程语言 时间:
2020-06-24 14:04:16
阅读次数:
249
原因分析: Ah, ok. I thought it was commented out because it caused the error. You can always put a breakpoint in the line printing the error and look at t ...
分类:
其他好文 时间:
2020-06-23 21:48:50
阅读次数:
84
1 \[ \sum\limits_{i=1}^n \mu(i) = [n=1] \] 证明:设$n$的质因子有$k$个,那么由$\mu$的定义,左式显然等于$\sum\limits_^k(-1)^k\Large\binom\normalsize=(1+(-1))k=0k=[k=0]$ ,也显然有$[ ...
分类:
其他好文 时间:
2020-06-23 21:36:09
阅读次数:
90