1、下载安装包,下载链接如下: http://ftp.gnu.org/gnu/binutils/ wget http://ftp.gnu.org/gnu/binutils/binutils-2.32.tar.gz tar -xzvf binutils-2.32.tar.gzcd binutils-2 ...
分类:
系统相关 时间:
2020-06-26 20:24:07
阅读次数:
280
【题目】 给定一个包含从0、1、2,...,n中获取的n个不同数字的数组,找到该数组中缺少的一个。 Example 1: Input: [3,0,1] Output: 2 Example 2: Input: [9,6,4,2,3,5,7,0,1] Output: 8 Example 3: Input ...
分类:
其他好文 时间:
2020-06-26 13:05:13
阅读次数:
54
第一部分 还有最后的闭包没有讲...: 1.非常浅显的阅读《你不知道的JavaScript》第一部分作用域与闭包 https://www.bilibili.com/video/BV1jE411j7PU 从22分钟开始讲闭包 ...
分类:
编程语言 时间:
2020-06-26 10:56:07
阅读次数:
58
Given a sorted array A of unique numbers, find the K-th missing number starting from the leftmost number of the array. Example 1: Input: A = [4,7,9,10 ...
分类:
其他好文 时间:
2020-06-26 10:52:26
阅读次数:
72
const 命令 const 声明一个只读变量,声明之后不允许改变。意味着,一旦声明必须初始化,否则会报错。 基本用法: const PI = "3.1415926"; PI // 3.1415926 const MY_AGE; // SyntaxError: Missing initializer ...
分类:
其他好文 时间:
2020-06-24 09:17:48
阅读次数:
86
package LeetCode_268 /** * 268. Missing Number * https://leetcode.com/problems/missing-number/description/ * * Given an array containing n distinct nu ...
分类:
其他好文 时间:
2020-06-24 00:06:34
阅读次数:
63
1、程序路径不能有中文,因为MinGW不支持 2、选择一个文件夹当作工作区,并且在该文件夹下创建./vscode文件夹,并在该文件夹下创建两个json文件 launch.json { "version": "0.2.0", "configurations": [ { "name": "C/C++", ...
分类:
其他好文 时间:
2020-06-22 22:28:38
阅读次数:
45
1、k8s的dashboard的安装部署,首先需要将压缩包下载下来,然后进行解压缩操作。 1 [root@k8s-master ~]# cd k8s/ 2 [root@k8s-master k8s]# ls 3 book-master.war deploy health pod rc skydns ...
分类:
Web程序 时间:
2020-06-22 21:14:26
阅读次数:
215
cd /etc/yum.repos.d vim CentOS-Debuginfo.repo enable = 1 yum install glibc debuginfo-install glibc.x86_64 0:2.17-307.el7.1 ...
分类:
数据库 时间:
2020-06-21 17:52:26
阅读次数:
108
一、技术总结 即判断给出一串数字中缺少的最小正整数 直接可以遍历判断n个数字中是否在一串数字中是否出现,如果没有直接输出 但是会出现一种情况,是恰好给出的数字是1~n,这是需要再判断一下了遍历的次数是否等于n,如果是的话直接输出n+1 二、参考代码 #include<iostream> #inclu ...
分类:
其他好文 时间:
2020-06-20 22:22:15
阅读次数:
64