Generators in ECMAscript 6 are first-class coroutines that produce encapsulated suspended execution(暂停执行) contexts.Yield values and iterate over them ...
分类:
其他好文 时间:
2014-11-23 21:41:42
阅读次数:
266
这些标着位会让你的程序使用起来更方便。First you need to include "STM32f10x_type.h"/*布尔型变量*/typedef enum{FALSE =0,TRUE =!FALSE} bool;/*标志位状态变量*/typedef enum{RESET=0,SET!....
分类:
其他好文 时间:
2014-11-23 21:31:12
阅读次数:
8428
Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents your maximu...
分类:
其他好文 时间:
2014-11-23 18:56:31
阅读次数:
122
本文将开始编写完整的汇编语言程序,用编译器将它们编译成为可执行文件(如:*.exe文件),在操作系统中运行。本文地址:http://www.cnblogs.com/archimedes/p/assembly-first-program.html,转载请注明源地址。1、一个源程序从写出到执行的过程一个...
分类:
其他好文 时间:
2014-11-23 18:53:59
阅读次数:
241
Breadth First Search
BFS家伙还是很有用的,特地从wiki扒了一个动态的图,来帮助感性的理解这个动态搜索的过程。
对于如下一个无权值的有向图,在进行广度优先搜索呢?这里我们的代码实现是,以节点3为入口
对于BFS的理论基础介绍,个人觉得还是看《DSAA》比较好.这里不做介绍...
分类:
编程语言 时间:
2014-11-23 17:38:13
阅读次数:
347
First thing first, Wiki:http://en.wikipedia.org/wiki/Dynamic-link_libraryhttp://en.wikipedia.org/wiki/Static_libraryOn Windows, SLL's file extension i...
分类:
编程语言 时间:
2014-11-23 17:31:11
阅读次数:
201
1、规则要求https://www.python.org/dev/peps/pep-00082、工具https://github.com/jcrocholl/pep83、基本使用方法测试自己的代码:[guosong@etch171 mars171 guosong]# pep8 --first cou...
分类:
其他好文 时间:
2014-11-23 17:23:17
阅读次数:
161
问题描述:
Given an unsorted integer array, find the first missing positive integer.
For example,
Given [1,2,0] return 3,
and [3,4,-1,1] return 2.
Your algorithm should run in O(n) time and uses con...
分类:
其他好文 时间:
2014-11-23 16:02:15
阅读次数:
211
原文Inno Setup connection to the database and createDescription: the first half of this program in Inno Setup instance inside there, behind the database...
分类:
数据库 时间:
2014-11-23 12:56:02
阅读次数:
264
package queue.sequencequeue;
/**
* 队列的定义:队列是只允许在一端进行插入操作,而在另外一端进行删除操作的线性表
* 队列是一种先进先出(First In First Out)的线性表,简称FIFO,允许插
* 入的一端称为队尾,允许删除的一端称为队头
* @author wl
*
*/
public class SequenceQueue {
pr...
分类:
编程语言 时间:
2014-11-23 09:21:48
阅读次数:
199