7.3.2018 立个flag,暑假做完GOLD? 现在一共做了 SILVER 3 1606: [Usaco2008 Dec]Hay For Sale 购买干草:背包 4781: [Usaco2017 Open]Paired Up:贪心 4782: [Usaco2017 Open]Bovine Ge ...
分类:
其他好文 时间:
2018-07-03 20:13:55
阅读次数:
151
一、网络配置1.查看(1)ipa//简单查看当前主机的网卡IP信息1:lo(本地回环网卡):<LOOPBACK,UP,LOWER_UP>mtu65536qdiscnoqueuestateUNKNOWNlink/loopback00:00:00:00:00:00brd00:00:00:00:00:00inet127.0.0.1/8scopehostloinet6::1/128scopeh
分类:
系统相关 时间:
2018-07-02 11:49:38
阅读次数:
241
Loading and Linking Shared Libraries from Applications Up to this point, we have discussed the scenario in which the dynamic linker loads and links sh ...
分类:
其他好文 时间:
2018-06-30 16:18:51
阅读次数:
169
1)叫醒p2p网卡 ifconfig p2p0 up 2)启动wpa_supplicant服务 wpa_supplicant -Dnl80211 -ip2p0 -c /etc/wpa_supplicant_p2p.conf -B -d -f wpa.txt 其中/etc/wpa_supplicant ...
分类:
系统相关 时间:
2018-06-30 12:46:43
阅读次数:
318
Fedora 28 开机自动配置Ip 1.设置ip 1.启动网卡:ifconfig eno1 up |ifup eno1 2.查看eno1状态:ethtool eno1 3.获取网关:route Destination:default Gateway:10.240.176.0 4.配置静态ip:vi ...
分类:
其他好文 时间:
2018-06-29 11:09:04
阅读次数:
267
Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have ex ...
分类:
其他好文 时间:
2018-06-29 01:14:22
阅读次数:
170
将图片数据写入Record文件 在上面的代码中:通过for index in range(101): 可以控制写入文件的Example数量。 一次读取一个样例 一次读取多个样例, 使用read_up_to(注意当前代码所在的方格不要和前面的程序都放在jupyter notebook中运行。否则前面的 ...
分类:
其他好文 时间:
2018-06-28 13:48:52
阅读次数:
231
题目描述 有一口深度为high米的水井,井底有一只青蛙,它每天白天能够沿井壁向上爬up米,夜里则顺井壁向下滑down米,若青蛙从某个早晨开始向外爬,对于任意指定的high、up和down值(均为自然数),计算青蛙多少天能够爬出井口? 有一口深度为high米的水井,井底有一只青蛙,它每天白天能够沿井壁 ...
分类:
其他好文 时间:
2018-06-27 15:40:25
阅读次数:
209
Given a linked list, determine if it has a cycle in it. Follow up:Can you solve it without using extra space? 题意: 给定一个链表,判断是否有环 思路: 快慢指针 若有环,则快慢指针一定会在 ...
分类:
其他好文 时间:
2018-06-26 11:07:35
阅读次数:
185