题目如下: Given a fixed length array arr of integers, duplicate each occurrence of zero, shifting the remaining elements to the right. Note that elements ...
分类:
其他好文 时间:
2019-06-18 13:58:59
阅读次数:
128
Note sth about GMM(Gaussian Mixtrue Model) "高斯混合模型的终极理解" "高斯混合模型(GMM)及其EM算法的理解" 这两篇博客讲得挺好,同时讲解了如何解决GMM参数问题的EM算法,其实GMM式子没有什么高深的地方,都是概率论的东西,主要是构思比较巧妙。 动 ...
分类:
其他好文 时间:
2019-06-17 12:38:18
阅读次数:
105
1、MySQL8.0.16解压 其中 文件夹和 配置文件是解压后手动加入的,如下图所示 2、新建配置文件 放在 目录下 如图: 3、初始化MYSQL配置 管理员身份打开Windows PowerShell,并进入 目录,执行如下命令: 执行成功后如下图所示: 其中,[Note] [MY 010454 ...
分类:
数据库 时间:
2019-06-17 12:37:32
阅读次数:
131
均为111分,接着是华为Mate 20 Pro、P20 Pro和三星Galaxy S10+,三款机型综合得分均为109分,前10名最后三款机型分别是小米9、iPhone XS Max和HTC U12+。 前置相机方面,三星Galaxy S10 5G以97分的综合成绩成为前置表现最好的智能手机,然后是 ...
分类:
其他好文 时间:
2019-06-16 20:04:28
阅读次数:
163
//程序演进1 //thread loop,忙等Busy wait //不断的检查是不是该做什么事情了;为了减少CPU占用,sleep睡眠一会 //while (1) //{ // do_something(); // sleep(time); //} //程序演进2 //while (1) //{... ...
分类:
编程语言 时间:
2019-06-16 17:29:51
阅读次数:
116
Given a non-negative integer num represented as a string, remove k digits from the number so that the new number is the smallest possible. Note: The l ...
分类:
其他好文 时间:
2019-06-15 15:43:20
阅读次数:
104
转自:https://my.oschina.net/jywm/blog/757973 安装步骤 在服务器安装了mysql 或者mysql-connect的前提下 1、安装setuptools 2、安装mysql-python 1、No module named setuptools *原因 没有安装 ...
分类:
数据库 时间:
2019-06-14 23:51:40
阅读次数:
295
Given a binary tree, return all root-to-leaf paths. Note: A leaf is a node with no children. Example: 题目大意: 给定二叉树,输出它的所有路径,用vector容器保存。 理 解: 采用递归的思想。 ...
分类:
其他好文 时间:
2019-06-14 18:01:33
阅读次数:
88
makefile 规则基本格式 一条 makefile 规则由以下几部分组成: Please note: you need to put a tab character at the beginning of every recipe line! makefile 没有在命令行中指定执行哪部分时候, ...
分类:
其他好文 时间:
2019-06-13 22:22:22
阅读次数:
185