目录: 1、水平居中 2、垂直居中 水平居中 块级标签:设置 margin : 0 auto 行内标签:设置 text-align : center 行内-块级标签:设置 text-align : center 块级标签水平居中 <!DOCTYPE html> <html> <head> <meta ...
分类:
其他好文 时间:
2020-05-06 21:59:24
阅读次数:
77
一,组件,需要转pdf下载的的html <template> <div id="faceCtx"> <el-row class="face-add-border"> <el-col :span="8" class="face-col-left"> <div class="grid-content b ...
分类:
Web程序 时间:
2020-05-06 20:02:53
阅读次数:
105
1 /** 2 * Definition for a binary tree node. 3 * struct TreeNode { 4 * int val; 5 * TreeNode *left; 6 * TreeNode *right; 7 * TreeNode(int x) : val(x), ...
分类:
其他好文 时间:
2020-05-06 11:59:27
阅读次数:
66
方法一: long pre=Long.MIN_VALUE; public boolean isValidBST3(TreeNode root){ if(root==null) return true; if(!isValidBST3(root.left)) return false; if(root ...
分类:
其他好文 时间:
2020-05-06 01:18:21
阅读次数:
60
拉马努金连分数参考:这里 Here is a famous problem posed by Ramanujan > Show that $$\left(1 + \frac{1}{1\cdot 3} + \frac{1}{1\cdot 3\cdot 5} + \cdots\right) + \lef ...
分类:
其他好文 时间:
2020-05-06 01:12:32
阅读次数:
199
快速排序(ES6) function qSort(arr){ if(arr.length <= 1){return arr} const mVal = arr.shift() //这是基准数,比这小的放左边数组, 比这大的放在右边 let [left, right] = [[], []] arr.f ...
分类:
编程语言 时间:
2020-05-05 19:57:20
阅读次数:
115
题目: 解答: 1 class Solution { 2 public: 3 int searchInsert(vector<int> &nums, int target) 4 { 5 int left = 0; 6 int right = nums.size() - 1; 7 8 while(le ...
分类:
其他好文 时间:
2020-05-05 12:40:50
阅读次数:
49
平滑技术也叫做过滤技术,可以用来去除图像中的噪声,常用的平滑处理的处理算法有基于二维离散卷积的高斯平滑、均值平衡、基于统计学方法的中值平滑、双边滤波、导向滤波等。二维离散卷积是基于两个矩阵的一种计算方式,通过以下示例进行理解。 $$ I = \left ( \begin{matrix} 1&2\\ ...
分类:
其他好文 时间:
2020-05-05 11:05:15
阅读次数:
61
获取数据库表结构 select a.COLUMN_NAME,a.DATA_TYPE,a.CHARACTER_MAXIMUM_LENGTH,b.value from information_schema.COLUMNS as a left join sys.extended_properties as ...
分类:
数据库 时间:
2020-05-04 19:50:25
阅读次数:
91
代码如下 DELETE a FROM t_StorageQty a LEFT JOIN t_Item b ON a.F_ItemID = b.F_ID WHERE isnull(b.F_ID,'') = '' ...
分类:
数据库 时间:
2020-05-04 19:30:09
阅读次数:
59