给定一个未排序的整数数组,找出其中没有出现的最小的正整数。示例 1:输入: [1,2,0]输出: 3示例 2:输入: [3,4,-1,1]输出: 2示例 3:输入: [7,8,9,11,12]输出: 1说明:你的算法的时间复杂度应为O(n),并且只能使用常数级别的空间。来源:力扣(LeetCode)... ...
分类:
其他好文 时间:
2019-08-19 21:11:59
阅读次数:
71
这种是由于你的 配置文件冲突了 ,配置文件进行了修改之后报错了 你需要直接把上面的代码拉下来然后,解决冲突 如果: git pull 分支名还报错了 就需要指定了 appledeMacBook-Air-70:thor apple$ git pull zylfatal: 'zyl' does not ...
分类:
其他好文 时间:
2019-08-19 21:09:23
阅读次数:
70
:: -writable-path:: -entry:: -landscape:: -portrait:: -resolution:: -scale:: -write-debug-log:: -console:: -position:: -debugger:: -app-menu:: -resize ...
分类:
其他好文 时间:
2019-08-19 19:26:44
阅读次数:
104
kubernetes集群暴露Pod端口创建测试环境vinginx.yamlapiVersion:apps/v1kind:Deploymentmetadata:name:my-nginxspec:selector:matchLabels:run:my-nginxreplicas:2template:metadata:labels:run:my-nginxspec:containers:-name:m
分类:
Web程序 时间:
2019-08-19 19:19:26
阅读次数:
126
Atcoder ABC138 A .Red or Not 一道网速题。 大于3200输出原字符串,否则就输出red。 cpp include include include include define N 120 using namespace std; int a[N],n; double s; ...
分类:
其他好文 时间:
2019-08-19 17:16:44
阅读次数:
79
.box{ 子级 position: relative; width: 300px; height: 400px; display: flex; justify-content: center; align-content: center; background: #1B6D85; } .box::... ...
分类:
Web程序 时间:
2019-08-19 13:07:56
阅读次数:
108
centos7安装mysql centos7安装mysql 进入目录 1 #cd /usr/local/src/ 安装mysql 1 2 3 #wget http://repo.mysql.com/mysql57-community-release-el7-8.noarch.rpm #rpm -iv ...
分类:
数据库 时间:
2019-08-19 12:47:16
阅读次数:
112
2019-08-18 关键字:iptables、Linux 防火墙 iptables 是 Linux 上的一款防火墙配置软件。 防火墙的基本概念 防火墙是指工作在计算机设备系统边缘或网络设备边缘,能根据既定的规则对数据报文进行检测并做出相应处理的模块。这一模块既可以是软件也可以是硬件。iptable ...
分类:
其他好文 时间:
2019-08-18 23:47:38
阅读次数:
82
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>浮动</title> <style> *{ padding: 0; margin: 0; } .container{ width: 100%; background ...
分类:
其他好文 时间:
2019-08-18 18:03:32
阅读次数:
105