题目链接 1 #include <bits/stdc++.h> 2 # define LL long long 3 using namespace std; 4 5 const int maxn=5000+10; 6 int n; 7 LL dis[maxn]; 8 int complete[max ...
分类:
其他好文 时间:
2020-02-04 11:02:51
阅读次数:
120
Windows系统编译 下载安装: node v9.8.0 yarn 1.9.4 安装windows编译工具 npm install global windows build tools 安装项目依赖 yarn install 开始编译,打包 npm run build npm run releas ...
聚类Agglomerative Clustering 及其三种方法Single-linkage、Complete-linkage,Group average 词干提取(stemming)和词形还原(lemmatization) 凝聚法层次聚类之ward linkage method ...
分类:
其他好文 时间:
2020-01-30 19:27:04
阅读次数:
83
CentOS 7 的防火墙开启 http 80 端口 在虚拟机 CentOS 7 上装了 Nginx,结果发现另一台电脑无法访问其默认页面,通过 telnet 192.168.1.88 80 监听发现是 http 80 端口被 CentOS 7 的防火墙 Firewalld(CentOS 6 的防火 ...
分类:
其他好文 时间:
2020-01-30 11:17:33
阅读次数:
98
当网络不好时,或者说根本链接不上官方yum仓库,以及第三方yum仓库(zabbix源)等,我们就需要自建一个yum仓库来满足我们需要。除了网络条件以外,还有我们生产环境需要发布,更新自己软件,我们可以将这些软件打包成RPM包,放到自己的仓库,然后在各个机器执行yum更新。1.1使用一些RPM包自建一个YUM仓库在目录/data/yum/repo/custom准备了如下的RPM包。
分类:
其他好文 时间:
2020-01-29 23:19:22
阅读次数:
92
"题目链接" 【题解】 当时竟然用线段树做的这题。。。 遍历每个位置。 看看每个位置开始的26个除了问号的字母有没有重复的。 没有的话就ok。 然后按顺序放每个字母就好 【代码】 ...
分类:
其他好文 时间:
2020-01-29 20:01:37
阅读次数:
71
#include <bits/stdc++.h> #include <stdio.h> #include <stdlib.h> #include <queue> using namespace std; const int maxn = 1010; int temp[maxn],initial[ma ...
分类:
其他好文 时间:
2020-01-29 14:18:41
阅读次数:
70
A Binary Search Tree (BST) is recursively defined as a binary tree which has the following properties: The left subtree of a node contains only nodes ...
分类:
其他好文 时间:
2020-01-26 14:40:36
阅读次数:
61
了解一下 setV,它是一个轻量级的 Python 虚拟环境管理器,是 virtualenvwrapper 的替代产品。-- Sachin Patil(作者) 这一年多来,我的 bash_scripts 项目中悄悄隐藏这 setV ,但现在是时候该公开了。setV 是一个 Bash 函数,我可以用它 ...
分类:
编程语言 时间:
2020-01-26 00:52:54
阅读次数:
137
function process_bar(s_date, e_date, data) { $('.modal-body').text('你选择的时期范围是:' + s_date + '到' + e_date); $('#myModalLabel').text('请确认时间范围!'); $('#con ...
分类:
Web程序 时间:
2020-01-22 17:59:55
阅读次数:
114