最小生成树(Minimum Spanning Tree) 连接所有顶点的边的权值之和最小的树 Prim算法 基本思路 设 图的顶点集合为V;其最小生成树的顶点集合为U 1. 将某个顶点放入U 2. 在一个顶点属于U,另一个顶点属于V U的所有的边中,找到权值最小的边 3. 将找到的边的不属于U的顶点 ...
分类:
其他好文 时间:
2018-09-30 18:11:28
阅读次数:
157
<meta name="viewport" content="width=device-width,initial-scale=1.0"> content属性值 : width:可视区域的宽度,值可为数字或关键词device-width height:同width intial-scale:页面首次 ...
分类:
其他好文 时间:
2018-09-29 23:50:18
阅读次数:
204
<meta name="viewport" content="width=device-width,user-scalable=no,initial-scale=0.5,minimum-scale=0.5,maximum-scale=1">(灰色部分可以不写) viewport 视口(可视区窗口) ...
分类:
移动开发 时间:
2018-09-28 11:09:07
阅读次数:
175
Remove the minimum number of invalid parentheses in order to make the input string valid. Return all possible results. Note: The input string may cont ...
分类:
其他好文 时间:
2018-09-28 11:04:11
阅读次数:
163
ORA-16072: a minimum of one standby database destination is required Instance terminated by LGWR
分类:
其他好文 时间:
2018-09-25 19:36:47
阅读次数:
170
题目描述 Byteasar loved to play with building blocks as a child. He used to arrange the blocks into nnn columns of random height and then organize them in ...
分类:
其他好文 时间:
2018-09-24 23:17:45
阅读次数:
160
Find All Anagrams in a String: https://leetcode.com/problems/find-all-anagrams-in-a-string/description/ Minimum Window Substring: https://leetcode.com ...
一、首先是<meta>标签 这段代码的几个参数解释: width = device-width:宽度等于当前设备的宽度 initial-scale:初始的缩放比例(默认设置为1.0) minimum-scale:允许用户缩放到的最小比例(默认设置为1.0) maximum-scale:允许用户缩放到 ...
分类:
Web程序 时间:
2018-09-24 18:31:25
阅读次数:
194
2018-09-24 12:01:38 问题描述: 问题求解: 毫无疑问的一条非常好的题目,采用的解法是逆向的BFS,也就是从叶子节点开始遍历,逐步向中心靠拢,最终留下的叶子节点就是答案。 ...
分类:
其他好文 时间:
2018-09-24 12:45:20
阅读次数:
133
搭建环境:yuminstallbind*需要编辑的文件:named.conf反向解析文件正向解析文件DNS配置文件vim/etc/named.conf#编辑主配置文件listen-onport53{any;};#修改allow-query{any;};#修改zone"idcyunwei.org"IN{#增加定义一具域名为idcyunwei.org的正向区域typemaster;
分类:
其他好文 时间:
2018-09-24 11:30:03
阅读次数:
176