<el-form-item label="经销商"> <el-input v-model="search.ClientName" placeholder="点击搜索图标选择" :disabled="true"><i slot="suffix" class="el-input__icon el-ico ...
分类:
其他好文 时间:
2020-07-08 13:44:57
阅读次数:
132
https://ac.nowcoder.com/acm/contest/6226/C 、 修修去年种下了一棵树,现在它已经有n个结点了。 修修非常擅长数数,他很快就数出了包含每个点的连通点集的数量。 澜澜也想知道答案,但他不会数数,于是他把问题交给了你。 换根dp 第一遍dfs , 从下到上算贡献 ...
分类:
其他好文 时间:
2020-07-08 00:59:29
阅读次数:
252
package LeetCode_162 /** * 162. Find Peak Element * https://leetcode.com/problems/find-peak-element/description/ * * A peak element is an element that ...
分类:
其他好文 时间:
2020-07-07 23:20:32
阅读次数:
54
前言 二叉树顺序存bai储是二叉树的一种存储方式。将二du叉树存储在一zhi个数组中,通过存储元素的下dao标反映元素之间的父子关系。 正文 这个概念比较简单,比如一个节点的在数组的index是x,那么它的左节点就是2x+1,右节点就是2x+2。 代码: public class ArrBinary ...
分类:
编程语言 时间:
2020-07-07 19:56:14
阅读次数:
48
下载ffmpeg,并且将libx264编译进去 1.下载gas-preprocessor文件 https://github.com/libav/gas-preprocessor 将里面的gas-preprocessor.pl拷贝到/usr/local/bin 修改文件权限 chomd 777 /us ...
分类:
移动开发 时间:
2020-07-07 17:21:36
阅读次数:
183
1.层序遍历,一个队列存放节点,一个队列存放到当前节点的值。 2.递归 /** * Definition for a binary tree node. * public class TreeNode { * int val; * TreeNode left; * TreeNode right; * ...
分类:
编程语言 时间:
2020-07-07 16:00:52
阅读次数:
49
方法1:递归 /** * Definition for a binary tree node. * struct TreeNode { * int val; * struct TreeNode *left; * struct TreeNode *right; * }; */ bool hasPath ...
分类:
其他好文 时间:
2020-07-07 10:22:49
阅读次数:
60
作者:HelloGitHub-小鱼干 摘要:都知道 VSCode 有各种摸鱼小插件,边听云音乐、边在 IDE 斗地主,再来一个 NBA 直播,怎一个美滋滋了得。作为 VSCode 的同门,GitHub 在摸鱼上也不输于这个后辈,除了在命令行斗地主的 Ratel,还有让你操作安卓手机在电脑上假借调试之 ...
分类:
其他好文 时间:
2020-07-07 10:13:25
阅读次数:
83
题目来源:leetcode226 翻转二叉树 题目描述: 翻转一棵二叉树。 解题思路 递归 /** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *ri ...
分类:
其他好文 时间:
2020-07-07 10:00:25
阅读次数:
51
按照normalize.css的初始化模板,对其注释进行翻译,方便查看。 初始化的目的:保护有用的浏览器样式、一般化的样式、修复浏览器自身的bug、优化css的可用性、解释代码 1 /* 2 *在所有浏览器中更正行高。 3 *防止在更改方向后调整字体大小 4 *Windows Phone和iOS上的 ...
分类:
Web程序 时间:
2020-07-07 09:42:16
阅读次数:
163