1 编辑测试文件 [root@hz-kvm cephdisk3]# cat > 1.txt <<EOF> 120Tib> EOF 2 显示文件[root@hz-kvm cephdisk3]# cat 1.txt120Tib 3 过滤字母到其他文件[root@hz-kvm cephdisk3]# ca ...
分类:
系统相关 时间:
2020-02-19 00:33:09
阅读次数:
103
Large sum Work out the first ten digits of the sum of the following one hundred 50 digit numbers. 大和 计算出以下一百个50位数的和的前十位数字。 解题思路 目前想到的就是用高精度加法模拟。 100个5 ...
分类:
其他好文 时间:
2020-02-18 20:40:24
阅读次数:
83
1.正查询和反查 从有外键关联的表中查询没有外键的表 正查询; 反之反查询.比如如下字段: class Author(models.Model): name = models.CharField(max_length=32) age = models.IntegerField() email = m ...
分类:
其他好文 时间:
2020-02-18 20:35:21
阅读次数:
54
给定一个仅包含数字 2-9 的字符串,返回所有它能表示的字母组合。 给出数字到字母的映射如下(与电话按键相同)。注意 1 不对应任何字母。dianhua 示例: 输入:"23"输出:["ad", "ae", "af", "bd", "be", "bf", "cd", "ce", "cf"]. 代码如 ...
分类:
其他好文 时间:
2020-02-18 11:19:29
阅读次数:
82
接口 """ 接口概念:前台与后台进行信息交互的媒介 - url链接 接口组成: url链接 - 长得像返回数据的url链接 请求方式 - get(查)、post(增)、put(整体改)、patch(局部改)、delete(删) 请求参数 - 拼接参数、数据包参数(urlencoded、form-d ...
分类:
编程语言 时间:
2020-02-18 09:25:11
阅读次数:
119
"题目链接" 思路 问题模型:最大权闭合图 转化模型:网络最小割 这道题是网络流中一个比较重要的模型: 最大权闭合图转最大流 建立超级源点$S$和超级汇点$T$,然后每个实验连一条从$S$到实验,流量为实验收益的边,每个仪器连一条从仪器到$T$, 流量为仪器耗费的边,然后需要的仪器就连一条从实验到仪 ...
分类:
其他好文 时间:
2020-02-15 11:34:50
阅读次数:
67
ICMP协议 ping ip TCP协议 nc ip port HTTP协议 curl ip:port DNS协议 nslookup www.baidu.com vps-ip dig @vps-ip www.baidu.com ...
分类:
其他好文 时间:
2020-02-13 21:04:41
阅读次数:
54
1.confusion_matrix 利用混淆矩阵进行评估 复现代码 accuracy_score() 分类准确率分数 分类准确率分数是指所有分类正确的百分比。分类准确率这一衡量分类器的标准比较容易理解,但是它不能告诉你响应值的潜在分布,并且它也不能告诉你分类器犯错的类型 ...
分类:
其他好文 时间:
2020-02-13 17:14:17
阅读次数:
110
问题描述: Calculate a+b and output the sum in standard format -- that is, the digits must be separated into groups of three by commas (unless there are le ...
分类:
其他好文 时间:
2020-02-12 10:51:16
阅读次数:
65
Linux内核文件:/boot/vmlinuz-* GRUB2多系统启动配置:/boot/grub2/grub.cfg 临时配置IP:ifconfig [接口名] IPV4地址/子网掩码 临时设置主机名:hostname "主机名" DNS测试:host命令,dig命令 永久配置主机名:修改/etc ...
分类:
其他好文 时间:
2020-02-10 17:42:16
阅读次数:
91