Phaser is a fun, free and fast 2D game framework
for making HTML5 games for desktop and mobile web browsers, supporting Canvas
and WebGL rendering.Pha...
分类:
Web程序 时间:
2014-05-26 19:44:52
阅读次数:
269
这两天学习了网络流,下面是ISAP算法模板:
const int inf = 0x3fffffff;
template
struct Isap
{
int top;
int d[N], pre[N], cur[N], gap[N];
struct Vertex{
int head;
} V[N];
struct Edge{...
分类:
其他好文 时间:
2014-05-26 04:10:16
阅读次数:
252
HumidexTime Limit: 1000MSMemory Limit:
65536KTotal Submissions: 15974Accepted: 5811DescriptionAdapted from Wikipedia,
the free encyclopediaThe humide....
分类:
其他好文 时间:
2014-05-26 01:57:13
阅读次数:
284
--得到最耗时的前N条T-SQL语句 --适用于SQL SERVER 2005及其以上版本
--给N赋初值为30 declare @n int set @n=30 ;with maco as ( select top (@n) pla...
分类:
数据库 时间:
2014-05-26 01:51:02
阅读次数:
280
--Linux内存详解-----------------2014/05/24Linux的内存上表现的不像windows那么直观,本文准备详细的介绍一下Linux的内存。请看这下有linux命令free和vmstat输出的内存信息。Mem行used表示已经分配的内存,free表示尚未分配的内存,sha...
分类:
系统相关 时间:
2014-05-26 01:09:07
阅读次数:
435
View的getLeft, getRight, getTop,
getBottom方法得到的分别是相对于其父组件不同方向的距离网上找了张图说明:其中right和left的计算方法如下: right = left +
width; bottom = top + height;
分类:
其他好文 时间:
2014-05-25 18:51:01
阅读次数:
244
尽管在开发过程中坚守原则和谨慎编程甚至严格测试,然而内存泄露的错误还是难以杜绝,如何让系统自动查出内存泄露的错误呢?一种比较好的方法是建立日志块,即每次分配内存时记录该内存块的指针和大小,释放时再去除该日志块,如果有内存泄露就会有对应的日志块记录这些内存没有释放,这样就可以提醒程序员进行查错。...
分类:
其他好文 时间:
2014-05-25 10:58:26
阅读次数:
291
free pascal
错误代码表为了方便对照检查运行时错误代码,这里把所有的错误代码的含义整理出来。(最大序号为232,中间不一定连续。user.pdf P175)Run-time
errors Applications generated by Free Pascal might generat...
分类:
其他好文 时间:
2014-05-25 02:05:12
阅读次数:
558
题目
You are climbing a stair case. It takes n steps to reach to the top.
Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb to the top?
解答...
分类:
其他好文 时间:
2014-05-25 00:37:34
阅读次数:
284
1.链栈结构
typedef struct StackNode
{
SElemType data;
struct StackNode *next;
}StackNode,*LinkStackPtr;
typedef struct
{
LinkStackPtr top;
int count;
}LinkSta...
分类:
编程语言 时间:
2014-05-24 23:35:39
阅读次数:
429