(1)DOS was the first widely-installed operating system on personal computers. (2)To command to check a diskette for flaws and creates a directory wher ...
分类:
其他好文 时间:
2019-11-03 23:51:19
阅读次数:
171
(1)路径问题 open一个同py文件同一个目录的文件的时候,用以下: txt = open('/filtered_words.txt','rb') words = txt.readline() filtered = [] for word in words: filtered.append(wor ...
分类:
编程语言 时间:
2019-11-03 11:02:55
阅读次数:
95
344. Reverse String 解法一(暴力法): 直接从两头往中间走,同时交换两边的字符即可 首位对调位置。 class Solution { public void reverseString(char[] s) { int tail = s.length-1; for(int i = ...
分类:
其他好文 时间:
2019-11-02 17:35:26
阅读次数:
70
题面 Grigory has n n magic stones, conveniently numbered from $1$ to $n$. The charge of the $i$ th stone is equal to $c_i$. Sometimes Grigory gets bored ...
分类:
其他好文 时间:
2019-11-01 14:40:58
阅读次数:
85
特征抽取sklearn.feature_extraction 模块提供了从原始数据如文本,图像等众抽取能够被机器学习算法直接处理的特征向量。 1.特征抽取方法之 Loading Features from Dicts 2.特征抽取方法之 Features hashing 3.特征抽取方法之 Text ...
分类:
其他好文 时间:
2019-10-31 18:56:16
阅读次数:
178
搜索引擎的标准定义:搜索引擎(Search Engine)是指根据一定的策略、运用特定的计算机程序从互联网上搜集信息,在对信息进行组织和处理后,为用户提供检索服务,将用户检索相关的信息展示给用户的系统。从上述定义中我们可以获得几个有关搜索引擎的关键步骤,分别为:搜集信息;组织和处理信息;展示信息。 ...
分类:
其他好文 时间:
2019-10-29 00:45:17
阅读次数:
122
GO实现简单(命令行)工具:sftp,文檔压解,RDS备份,RDS备份下载 轉載請註明出處: "https://www.cnblogs.com/funnyzpc/p/11721978.html" 内容提要: + 1.远程连接linux执行sftp文件下载 + 2.window下文件解压缩(tar、g ...
分类:
其他好文 时间:
2019-10-27 14:25:53
阅读次数:
92
想使用Animation曲线制作变速移动, 需要 当前曲线下面积/曲线总面积 获取当前移动进度,在网上找到了unity animationCurve的实现代码,修改后做积分可以求得面积代码如下:public float AreaUnderCurve(AnimationCurve curve, flo... ...
分类:
编程语言 时间:
2019-10-24 13:10:21
阅读次数:
168
通过之前的文章我们使用Prometheus监控了应用服务器node_exporter,数据库mysqld_exporter,今天我们来监控一下你的应用。(本文以SpringBoot 2.1.9.RELEASE 作为监控目标) 编码 添加依赖 使用Prometheus监控SpringBoot应用只需要 ...
分类:
编程语言 时间:
2019-10-24 09:40:04
阅读次数:
446
Luogu_P3435 [POI2006]OKR Periods of Words KMP "题目链接" ~~阅读理解~~ 其实就是B是A的前缀 那么叠加B成为BB,假如A是BB的前缀那么B就是合法 问A的所有前缀的最大合法前缀的和 emmm感性理解吧 那么读懂题面也就可以解决了 KMP的$nxt[ ...
分类:
其他好文 时间:
2019-10-23 09:59:34
阅读次数:
77