题意:输入一个文本,找出所有不同的单词,按字典序从小到大输出。单词不区分大小写。 样例输入: Adventures in DisneylandTwo blondes were going to Disneyland when they came to a fork in theroad. The s ...
分类:
其他好文 时间:
2019-02-06 13:10:15
阅读次数:
213
《人工智能》 李开复,王永康著 出版时间:2017-05 第一章 AI概念 1. Alpha Go(阿尔法狗) 于2016年初出问世,是一种人机大战的围棋游戏,在它问世之前,围棋是一种机器无法战胜人类的唯一棋类比赛。 当时,阿尔法狗与围棋世界冠军李世石对战,结果4比1大胜,它是第一个战胜人类职业围棋 ...
分类:
其他好文 时间:
2019-02-05 22:05:50
阅读次数:
752
简单题不简单…… 我们把单点加操作改成插入一个权值为增加量的点,将问题转化成询问一个矩阵中所有点的和,用 $K D\ Tree$ 维护,时间复杂度 $O(n\sqrt{n})$ $Code\ Below:$ ...
分类:
其他好文 时间:
2019-02-03 19:52:11
阅读次数:
203
Keeping track of all the cows can be a tricky task so Farmer John has installed a system to automate it. He has installed on each cow an electronic ID ...
分类:
其他好文 时间:
2019-02-03 18:07:12
阅读次数:
139
Written by Daniel Meyer on May 16 2018 in the What's New In Zeebe category. Welcome to the first-ever edition of “What’s New In Zeebe”, where we share ...
题目: Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases.For example,"A man, a plan, a canal: ...
分类:
其他好文 时间:
2019-02-01 17:16:05
阅读次数:
188
CALayer 拥有 mask 属性,Apple 的官方解释如下: An optional layer whose alpha channel is used to mask the layer’s content. The layer’s alpha channel determines how ...
分类:
其他好文 时间:
2019-02-01 15:55:39
阅读次数:
319
这篇文章主要讲解CRF++实现预测的过程,预测的算法以及代码实现相对来说比较简单,所以这篇文章理解起来也会比上一篇条件随机场训练的内容要容易。 预测 上一篇条件随机场训练的源码详解中,有一个地方并没有介绍。 就是训练结束后,会把待优化权重alpha等变量保存到文件中,也就是输出到指定的模型文件。在执 ...
分类:
其他好文 时间:
2019-02-01 11:18:22
阅读次数:
231
[TOC] Python 基本数据类型 一. 数字 (int) 基本介绍 python 的数字类型基本分为 整数,长整数, 浮点数. 整数: 类如 1, 11, 22, 36... 长整数: 就是比较长的整数,本身还是整数, 哈哈~ 类如 154864131, 548798466111131313. ...
分类:
编程语言 时间:
2019-01-31 00:14:02
阅读次数:
238
透明度与图层混合相关,影响到图片绘制的效率。 hidden 此属性为 BOOL 值,用来表示 UIView 是否隐藏。关于隐藏大家都知道就是让 UIView 不显示而已,但是需要注意的是: 当前 UIView 的所有 subview 也会被隐藏,忽略 subview 的 hidden属性。UIVie ...
分类:
其他好文 时间:
2019-01-30 15:46:54
阅读次数:
160