Problem DescriptionThere are many people's name and birth in a list.Your task is to print the name from young to old.(There is no pair of two has the ...
分类:
其他好文 时间:
2015-09-05 22:06:25
阅读次数:
241
1078. Hashing (25)时间限制100 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueThe task of this problem is simple: insert a sequence of distinct positive...
分类:
其他好文 时间:
2015-09-05 13:38:58
阅读次数:
124
copy: {
// 这是Task里的其中一个Target
dests: {
expand: true,
cwd: '/newFolder',
src: ['**/{a*,b*}.html'],
dest: '/newFolder',
ext: ".shtml",
extDot:...
分类:
其他好文 时间:
2015-09-05 12:34:40
阅读次数:
187
源文链接:http://appmem.com/archives/4051、Activity和Tasktask就好像是能包含很多activity的栈。 默认情况下,一个activity启动另外一个activity时,两个activity是放在同一个task栈中的,第二个activity压入第一个act...
分类:
移动开发 时间:
2015-09-05 09:51:08
阅读次数:
136
worker:topology的进程。 executor:线程,由worker产生。 task:具体一个?spout/bolt的实例。 thread和task关系:一个thread可以运行多个实例,但是如果不显示设定task数量:setNumTasks(n),一个thread默认执...
分类:
其他好文 时间:
2015-09-04 12:57:45
阅读次数:
190
A. Hanoi towerTime Limit: 1 SecMemory Limit: 256 MB题目连接http://codeforces.com/gym/100114Descriptionyou the conditions of this task. There are 3 pivots:...
分类:
其他好文 时间:
2015-09-03 19:14:44
阅读次数:
365
头部中如果设置了语言的话,chrome 会自动尝试翻译,所以去掉 lang=eninput 间隙问题当两个input并列在一起时比如百度的首页中 搜索 input 和 submit input 并列式这种情况会出现间隙为什么会出现这种情况?把两个 input 间的换行或空格去掉,发现空隙就没有了啊!...
分类:
其他好文 时间:
2015-09-03 00:36:39
阅读次数:
216
输入_第一类 输入不说明有多少个Input Block,以EOF为结束标志。例题(HDOJ1089)Problem DescriptionYour task is to Calculate a + b.Too easy?! Of course! I specially designed the pr...
分类:
其他好文 时间:
2015-09-02 23:19:25
阅读次数:
320
今天看到这个,觉得还不错,于是乎收藏下作者原创连接 共分3篇:深入理解Activity启动模式(一)–Activity与进程,线程的关系深入理解Activity启动模式(二)–Activity,回退栈,Task之间的关系深入理解Activity启动模式(三)–Activity启动模式特点概述And....
分类:
其他好文 时间:
2015-09-02 13:13:47
阅读次数:
208
参数:io.sort.mb(default 100) 当map task开始运算,并产生中间数据时,其产生的中间结果并非直接就简单的写入磁盘。 而是会利用到了内存buffer来进行已经产生的部分结果的缓存, 并在内存buffer中进行一些预排...
分类:
其他好文 时间:
2015-09-02 12:03:19
阅读次数:
165