https://www.cnblogs.com/grandyang/p/5144918.html 1. class Solution { public: int nthSuperUglyNumber(int n, vector<int>& primes) { vector<int> res(1,1) ...
分类:
其他好文 时间:
2020-06-30 10:56:23
阅读次数:
38
maxlength 属性规定输入字段的最大长度,以字符个数计。 maxlength 属性与 <input type="text"> 或 <input type="password"> 配合使用。 maxlength 属性 用在<input type="number"> 是没效果的 解放方案: <in ...
分类:
其他好文 时间:
2020-06-30 10:52:06
阅读次数:
227
1. let 和 const 在es6之前,一般是用 var 用来定义变量、函数、对象等,由于 js 是弱类型的语言,js中所有的变量包括 number/string/boolean/undefined/function/object 都能通过var关键字来定义,在js中:var a; 声明未赋值默 ...
分类:
其他好文 时间:
2020-06-30 10:46:59
阅读次数:
46
1104 Sum of Number Segments (20分) Given a sequence of positive numbers, a segment is defined to be a consecutive subsequence. For example, given the s ...
分类:
其他好文 时间:
2020-06-30 00:44:09
阅读次数:
60
这里选择的是px to rem插件,使用步骤: 1、首先,安装px to rem插件; 2、然后,在设置->用户设置中->扩展中找到【px to rem】; 如图: 3、或者直接在setting.json中配置 1 2 "px-to-rem.px-per-rem": 75, "px-to-rem.n ...
分类:
其他好文 时间:
2020-06-30 00:38:39
阅读次数:
176
Given an integer n. Each number from 1 to n is grouped according to the sum of its digits. Return how many groups have the largest size. 对1-n的数分组,分组规则 ...
分类:
其他好文 时间:
2020-06-29 20:18:12
阅读次数:
73
数据类型是数据库的一个重要组成部分,在MySQL数据库中可将数据类型分为三大类:Text类型(文本类型)、Number类型(数字类型)、Date类型(日期类型)。
分类:
数据库 时间:
2020-06-29 17:20:30
阅读次数:
268
tuple // 一项数组的项数已知,其中每一项的类型也已知 const arr: [string,number,string] = ['1',1,'1'] unknow any // any类型 变量可以进行任意赋值,实例化,函数执行 // unknown类型 只允许赋值,不允许实例化,函数执行 ...
分类:
其他好文 时间:
2020-06-29 17:18:55
阅读次数:
54
环境 系统:CentOS 7.5软件:prometheus-2.18.1.linux-amd64.tar.gz 安装 下载二进制包地址:https://prometheus.io/download/ 安装 # tar -xzvf prometheus-2.18.1.linux-amd64.tar.g ...
分类:
其他好文 时间:
2020-06-29 17:09:15
阅读次数:
88
Students are asked to stand in non-decreasing order of heights for an annual photo. Return the minimum number of students that must move in order for ...
分类:
其他好文 时间:
2020-06-29 15:25:43
阅读次数:
59