KeyNotFoundException("Item was not found!"); NotImplementedException("Empty list."); ArgumentOutOfRangeException("index"); ArgumentNullException("elem ...
分类:
其他好文 时间:
2021-06-05 17:39:48
阅读次数:
0
题目: https://ac.nowcoder.com/acm/problem/50940 参考的题解: https://blog.nowcoder.net/n/f7f7a3a1d5c44db8ab838ef2e2dbeaac 思路: 一个大根堆,一个小根堆,通过维护使两个堆的数量不超过1 这个格式 ...
分类:
其他好文 时间:
2021-06-05 17:38:39
阅读次数:
0
算法分析 设 \(f(n, k)\) 表示 \(n\) 个数的排列中逆序数为 \(k\) 的排列数。 最大的数 \(n\) 可能排在第 \(n - i\) 位,从而产生 \(i\) 个与 \(n\) 有关的逆序对,去掉 \(n\) 之后,剩下的 \(n - 1\) 个数的排列中有 \(k - i\) ...
分类:
其他好文 时间:
2021-06-05 17:34:58
阅读次数:
0
Path '\react-native-safe-area-context\android\build\intermediates\compiled_local_resources\debug\out' is not a readable directory. 解决: 按照目录手动新建文件夹 ...
分类:
移动开发 时间:
2021-06-04 19:43:18
阅读次数:
0
[Vue warn]: Property "visible" must be accessed with "$data.visible" because properties starting with "$" or "_" are not proxied in the Vue instance t ...
分类:
其他好文 时间:
2021-06-04 19:40:27
阅读次数:
0
从3.1开始,Spring引入了对Cache的支持。其使用方法和原理都类似于Spring对事务管理的支持。Spring Cache是作用在方法上的,其核心思想是这样的:当我们在调用一个缓存方法时会把该方法参数和返回结果作为一个键值对存放在缓存中,等到下次利用同样的参数来调用该方法时将不再执行该方法, ...
分类:
编程语言 时间:
2021-06-04 19:34:35
阅读次数:
0
Install qBittorrent or Transmission Magnet Linkmagnet:?xt=urn:btih:351411DFA7D5A5EC1883D9B749D13FD2476BB3CD&tr=http%3A%2F%2Fbt2.t-ru.org%2Fann%3Fmagne ...
分类:
其他好文 时间:
2021-06-04 19:29:05
阅读次数:
0
笔者使用的Navicat Premium 12启动界面截屏: 请注意是64位的。笔者win7 64位系统。 连接Oracle时提示“oracle library is not loaded”。 解决方法: 1.前往“http://www.oracle.com/technetwork/database ...
分类:
数据库 时间:
2021-06-04 19:27:17
阅读次数:
0
编辑指标时,还没有点击保存。后面table里对应的数据就发生了改变。 因为赋值的时候是直接= 属于js内存中的浅拷贝。 this.EquipMetricDefFormData = row; 解决方案 //数据赋值 深拷贝代替浅拷贝 this.EquipMetricDefFormData = JSON ...
分类:
其他好文 时间:
2021-06-04 19:24:12
阅读次数:
0
我使用的阿里云centos7,修改mysql的配置文件,设置为免密码登陆,然后再重启服务,直接进入mysql再设置密码,再改回配置文件即可 编辑配置文件: vim /etc/my.cnf 在[mysqld]下面添加如下即可: skip-grant-table 随后重启服务直接输入mysql即可登陆进 ...
分类:
数据库 时间:
2021-06-04 19:19:21
阅读次数:
0