The thinking is simple and is inspired by the best solution from Single Number II (I read through the discussion after I use DP).Assume we only have 0 ...
分类:
其他好文 时间:
2017-08-04 10:09:25
阅读次数:
117
码云,git使用 教程-便签 码云,git使用 教程-便签 Code cloud, git use tutorial - note 作者:韩梦飞沙 Author:han_meng_fei_sha 邮箱:313134555@qq.com E-mail: 313134555 @qq.com E-mail ...
分类:
其他好文 时间:
2017-08-04 09:58:39
阅读次数:
130
Hangman is a paper and pencil guessing game for two or more players. One player thinks of a word, phrase or sentence and the other tries to guess it b ...
分类:
其他好文 时间:
2017-08-04 09:54:47
阅读次数:
218
<?php /** * [Discuz!] (C)2001-2099 Comsenz Inc. * This is NOT a freeware, use is subject to license terms * * $Id: lang_admincp.php 31458 2012-08-30 0 ...
分类:
Web程序 时间:
2017-08-04 01:10:39
阅读次数:
418
我用的是Yii2高级模板,在配置好邮箱后,并编写测试,测试结果表明是发送成功的,但我的邮箱就是接受不了邮件。 经过排查发现,是由 common/config/main-local.php 文件的 'useFileTransport' => true这条配置造成的。一般来说只要安装好了Yii2高级模板 ...
分类:
编程语言 时间:
2017-08-04 00:23:57
阅读次数:
281
参考摘选自这篇文章http://hanjianwei.com/2013/07/25/python-mro/ python2.3以后采用c3方法来确定方法解析顺序 我们把类 C 的线性化(MRO)记为 L[C] = [C1, C2,…,CN]。其中 C1 称为 L[C] 的头,其余元素 [C2,…,C ...
分类:
其他好文 时间:
2017-08-04 00:22:41
阅读次数:
317
本文起初主要想写个演示样例实測下pthread_mutex_lock和pthread_mutex_trylock差别。在linux机器上非常快就over了,可是想了一下。pthread是unix系的,在windows没办法直接执行代码非常不方便。于是想到了android,windows上安装ndk, ...
分类:
移动开发 时间:
2017-08-03 22:12:20
阅读次数:
358
在Win7(64位)使用VS2015运行《OpenGL编程指南》第八版第一章程序的方法 前言:笔者第一次用vs2015来实现《OpenGL编程指南》第八版第一个程序时确实花费了不少时间,按照网上教程,尝试了各种方法,最终花费了两个上午加一个下午的时间, 成功运行了程序,花了这么多时间,确实让人懊恼, ...
最近想起学Git,并且注册了Github。 将新创建的本地代码上传到github上,这里简单的记录一下,我喜欢使用命令行,这里全用命令行来实现,不了解Git命令的可以去了解下。 第一步:建立git仓库 在你想上传的文件夹下面,鼠标右键点击git bash here. 执行Git命令:git init ...
分类:
Web程序 时间:
2017-08-03 21:49:18
阅读次数:
257