Marriage Match IV 思路:属于最短路径上的边应该满足:dis_A[u] + dis_B[v] + w == dis_A[B],dis_A是出发点到其他点的距离,dis_B是终点到其他点的距离,u,v是边的两个端点,w是权值。题目说每条边只能用一次,我们可以用最大流算法来求最短路径有几 ...
分类:
其他好文 时间:
2020-07-01 17:23:25
阅读次数:
54
MySQL补充——忘记密码怎么办 摘要:本文主要记录了在忘记密码时怎么办。 部分内容来自以下博客: https://www.cnblogs.com/wuotto/p/9682400.html 关闭MySQL数据库 使用命令检查MySQL数据库是否已经关闭: 1 [root@localhost ~]# ...
分类:
数据库 时间:
2020-07-01 15:55:00
阅读次数:
75
3.9.4 False Cause Fallacy It occurs when the “link between premises and conclusion depends on some imagined causal connection that probably does not e ...
分类:
其他好文 时间:
2020-07-01 14:12:14
阅读次数:
68
1、下载文件封装downloadFile.js // 图片转blob function imgURLtoBlob(dataurl) { const arr = dataurl.split(',') const mime = arr[0].match(/:(.*?);/)[1] const bstr ...
分类:
其他好文 时间:
2020-07-01 13:03:35
阅读次数:
127
/** * @description 将图片的base64 转变成Blob形式 * */ function dataURLtoBlob(dataurl) { let arr = dataurl.split(',') let mime = arr[0].match(/:(.*?);/)[1] let ...
分类:
其他好文 时间:
2020-06-29 22:53:33
阅读次数:
82
hate-php 源码: <?php error_reporting(0); if(!isset($_GET['code'])){ highlight_file(__FILE__); }else{ $code = $_GET['code']; if (preg_match('/(f|l|a|g|\. ...
分类:
Web程序 时间:
2020-06-29 15:21:04
阅读次数:
65
多条件高级检索模板 多条件高级检索es语句,包含多个must、must_not、should嵌套示例,并考虑nested对象的特殊检索 该模板适用于所有情况,尤其适用于侧边栏多级多条件联合查询 { "query": { "bool": { "must": [ { "match": { "title" ...
分类:
其他好文 时间:
2020-06-29 13:09:09
阅读次数:
551
概念 PV 的全称是:PersistentVolume(持久化卷),是对底层的共享存储的一种抽象,PV 由管理员进行创建和配置,它和具体的底层的共享存储技术的实现方式有关,比如 Ceph、GlusterFS、NFS 等,都是通过插件机制完成与共享存储的对接。 PVC 的全称是:PersistentV ...
分类:
其他好文 时间:
2020-06-29 11:40:03
阅读次数:
53
CVPR2020:训练多视图三维点云配准 Learning Multiview 3D Point Cloud Registration 源代码和预训练模型:https://github.com/zgojcic/3D_multiview_reg 论文地址: https://openaccess.the ...
分类:
其他好文 时间:
2020-06-29 09:31:56
阅读次数:
235
IOS active 状态失效问题 失效原因 By default, Safari Mobile does not use the :active state unless there is a touchstart event handler on the relevant element or ...
分类:
移动开发 时间:
2020-06-29 00:21:02
阅读次数:
69