码迷,mamicode.com
首页 >  
搜索关键字:hg up    ( 8017个结果
Leetcode1304. Find N Unique Integers Sum up to Zero
public int[] sumZero(int n) { int [] Array= new int[n]; int sum=0; //前n-1个数之和 for(int i=0;i<Array.length-1;i++) { Array[i] = i; sum+=i; } Array[Array. ...
分类:其他好文   时间:2020-01-17 23:15:57    阅读次数:80
BPIM2Zero connect wifi in terminal
0. su root 1.查看设备名称 iw dev 2.扫描wifi(两种方法) iwlist wlan0 scanning |grep SSID iw wlan0 scan | grep SSID 3.查看 wlan0网卡的激活状态,<>内没有‘’UP‘’字样就表示未激活 ip link sho ...
分类:其他好文   时间:2020-01-16 22:18:34    阅读次数:123
centos7无网卡驱动
问题现象 安装centos7完毕之后,不显示网卡只有lo文件,现象如下 [root@localhost ~]# ifconfig lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 :: ...
分类:其他好文   时间:2020-01-16 14:50:20    阅读次数:345
1304. Find N Unique Integers Sum up to Zero
Given an integer n, return any array containing n unique integers such that they add up to 0. Example 1: Input: n = 5 Output: [-7,-1,1,3,4] Explanatio ...
分类:其他好文   时间:2020-01-16 14:19:16    阅读次数:90
[题解] [AGC013D] Piling Up
"题面" 题解 把操作放到坐标轴上, $y$ 轴代表黑球个数, $x$ 球代表操作次数 然后对应的操作就可以看作加上 $(1, 1)$ 或 $(1, 1)$ 的两个向量 于是对应的操作序列就变为了一根折线 但是有可能会有重复的情况 我们只计算到达过 $x$ 轴的那一根 并且这是肯定可以实现的 于是我 ...
分类:其他好文   时间:2020-01-16 10:52:06    阅读次数:68
[LC] 156. Binary Tree Upside Down
Given a binary tree where all the right nodes are either leaf nodes with a sibling (a left node that shares the same parent node) or empty, flip it up ...
分类:其他好文   时间:2020-01-15 13:37:21    阅读次数:80
你所不知道的良心网站第二弹
前言 传送门: "你所不知道的良心网站第一弹" にいはお 哈哈,很高兴能再次的碰到大家(嘛,感觉有用的网站又多起来了), 其实有很多的网站都是我在b站瞎逛的,有很多up主都会介绍一些好玩的网址,不过有很多的网址我个人感觉不是特别的实用,也可能对大家来说不太一样。 嘛,不过我介绍的东西都是小东西,好玩 ...
分类:Web程序   时间:2020-01-14 20:52:11    阅读次数:100
Clone failed RPC failed; curl 56 GnuTLS recv error (-54): Error in the pull function.
错误信息: Clone failed RPC failed; curl 56 GnuTLS recv error (-54): Error in the pull function. The remote end hung up unexpectedly early EOF index-pack f ...
分类:Web程序   时间:2020-01-14 14:45:41    阅读次数:211
0. vagrant+vbox创建centos7虚拟机
准备工作 安装 virthbox和vagrant 下载地址: 常用vagrant命令 $ vagrant init # 初始化 $ vagrant up # 启动虚拟机 $ vagrant halt # 关闭虚拟机 $ vagrant reload # 重启虚拟机 $ vagrant ssh # S ...
分类:其他好文   时间:2020-01-14 12:49:58    阅读次数:96
windows搭建virtual box+docker
A.准备linux环境 1.下载安装vagrant 官网下载 2.下载virtual box 官网下载 3.安装centos7 a. 创建文件夹 (不要有中文) b. cmd进入文件夹 执行 c. 准备 执行 d. 创建虚拟机 4.常用命令 vagrant up 启动 vagrant halt 关闭 ...
分类:Windows程序   时间:2020-01-14 09:46:42    阅读次数:88
8017条   上一页 1 ... 44 45 46 47 48 ... 802 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!