- 博客(3)
- 收藏
- 关注
原创 Centos7网络配置
Centos7网络配置假定需要设置的网卡为:eth0那么网卡的配置文件就是在:/etc/sysconfig/network-scripts/ifcfg-eth0其他网络配置文件DNS:/etc/resolv.conf主机名:/etc/sysconfig/network /etc/hostname私有ip对应的主机名:/etc/hosts网卡配置文件DEVICE = "eth0" #...
2019-11-20 09:32:58
315
原创 python sum-of-pairs
题目 Sum of pairs链接:题目思路这道题解法很简单,用双层循环能够解决。但是会超出时间,所以需要将双循环简化成单循环。简化:双层循环耗时长,简化为单层能减少时间。用集合来存放已经遍历过的元素能够减少耗时。
2019-07-19 00:15:53
536
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人