IOI2009论文reference:http://www.cnblogs.com/staginner/archive/2012/02/02/2335600.html 1 int wa[maxn],wb[maxn],wv[maxn],ws[maxn]; 2 int cmp(int *r,int a,...
分类:
编程语言 时间:
2014-10-21 13:41:17
阅读次数:
241
Reference:IOI2009论文http://www.cnblogs.com/ziyi--caolu/p/3192731.html 1 #include "stdio.h" 2 #include "string.h" 3 #define maxn 200010 4 5 int wa[maxn....
分类:
编程语言 时间:
2014-10-21 13:35:09
阅读次数:
236
可以从不同的的角度去划分垃圾回收算法:按照基本回收策略分引用计数(Reference Counting):比较古老的回收算法。原理是此对象有一个引用,即增加一个计数,删除一个引用则减少一个计数。垃圾回收时,只用收集计数为0的对象。此算法最致命的是无法处理循环引用的问题。标记-清除(Mark-Swee...
分类:
编程语言 时间:
2014-10-20 20:54:06
阅读次数:
157
WeakReference 弱引用1. 简介"Weak reference objects, which do not prevent their referents from being made finalizable,finalized, and then reclaimed. Weak re...
分类:
编程语言 时间:
2014-10-20 17:14:25
阅读次数:
191
The article shows how to download and upload VHD to Azure.http://michaelwasham.com/windows-azure-powershell-reference-guide/uploading-and-downloading-...
JAVA中synchronized关键字能够作为函数的修饰符,也可作为函数内的语句,也就是平时说的同步方法和同步语句块。假如再细的分类,synchronized可作用于instance变量、object reference(对象引用,例如this)、static函数和class literals(类...
分类:
其他好文 时间:
2014-10-19 02:39:27
阅读次数:
173
unicorn(独角兽),里面类似于倒排链的reference list,对应的term如friend:2,表示entity 2的朋友列表,整个结构是shard的,上面是top aggregator,然后是rack aggreator,支持StrongOr,weakAnd,Difference操作,还有apply(如找朋友的朋友),extract,有个nosql图数据库neo4j也是类似的,只是听...
分类:
其他好文 时间:
2014-10-18 22:25:29
阅读次数:
271
Maven This is a reference for the Maven project descriptor used in Maven. An XSD is available at: http://maven.apache.org/maven-v3_0_0.xsd for Maven 1.1. http://maven.apache.org/maven-v4_0_0.xsd fo...
分类:
其他好文 时间:
2014-10-18 03:13:16
阅读次数:
452
首先说明,d3支持所有的JS事件——甚至其他代码的自定义事件。这里有一个列表,The MDNEvent Reference, 包含了几乎所有浏览器创建的事件类型。大家有需要可以去查看。D3的事件绑定的语法,与jquery等其他类库用起来区别不大,都是object.on( event, listene...
分类:
其他好文 时间:
2014-10-16 20:25:33
阅读次数:
299
8.优化8.优化... 18.1 优化概述... 18.2 优化SQL语句... 18.2.1 优化SELECT语句... 18.2.1.1 SELECT语句的速度... 18.2.1.2 WHERE子句优化... 18.2.1.3 Range优化... 18.2.1.4 索引合并(Index Me...
分类:
数据库 时间:
2014-10-16 16:44:53
阅读次数:
721