/* 学习了一种新的解题方法,很巧妙,利用坐标系来解题。 参考:http://blog.csdn.net/nys001/article/details/12637201*/ 1 #include 2 #include 3 #include 4 #include 5 #inclu...
分类:
其他好文 时间:
2016-01-13 07:04:07
阅读次数:
450
代码:class MyQueue { // Push element x to the back of queue. Stack stack = new Stack(); Stack aux = new Stack(); public void push(int x) { ...
分类:
其他好文 时间:
2016-01-13 07:06:32
阅读次数:
227
谷歌CEO Sundar Pichai今日在他的官方Twitter上宣布,Google I/O 2016大会将于2016年5月18日在加州Mountain View拉开帷幕。这是谷歌一年一度最大的开发者大会。在刚刚过去的2015年,Google I/O大会被评为2015年最受欢迎的开发者大会,位列苹...
分类:
其他好文 时间:
2016-01-13 07:05:43
阅读次数:
207
要关联一个远程库,使用命令git remote add origin git@server-name:path/repo-name.git; 关联后,使用命令git push -u origin master第一次推送master分支的所有内容; 此后,每次本地提交后,可以使用命令git push ...
分类:
其他好文 时间:
2016-01-13 07:05:49
阅读次数:
133
"You can specify that an imported variable be mutable—that is, read-write— by applying the__blockstorage type modifier."文档已经清楚说明了它的作用。反汇编就是要看个究竟。__blo...
分类:
其他好文 时间:
2016-01-13 07:06:00
阅读次数:
246
Functions of StringBuilder:代码:public class Solution { public List summaryRanges(int[] nums) { List list = new ArrayList(); if(nums.le...
分类:
其他好文 时间:
2016-01-13 07:03:49
阅读次数:
202
计划你原计划的工作是否最后都做完了? 如果有没做完的,为什么?答:没有,全部的功能没有实现。其中,界面还差两个,逻辑还差闹钟逻辑和群组逻辑,可以说这些东西是我们的核心功能之一,缺失了他们对我们整个团队的影响非常大。原因错综复杂,然而最主要的原因还是因为繁重的课业压力和“不作为”的心态。有没有发现你做...
分类:
其他好文 时间:
2016-01-13 07:03:38
阅读次数:
170
Map is really useful when you want to use object as a key to set vaule, in ES5, you cannot really use object as a key:var user1 = { name: "Wan", age.....
分类:
其他好文 时间:
2016-01-13 07:02:39
阅读次数:
245
有了时间就打算做点事情。打算在这里记录自己在学习多媒体信息系统方面的一些点滴,希望能够在将来能够对自己的这也生涯有所裨益。从今天开始,我准备介绍如何从零开始掌握主流的Adaptive Streaming技术的系列学习笔记。首先给出几个有用的链接:http://www.zhihu.com/questi...
分类:
其他好文 时间:
2016-01-13 07:03:18
阅读次数:
475
要想知道如何用好onenote,就应该知道 博客园/onenote/github 的长处和短处。依据此便可更好的从根本上更好的使用。 onenote和博客园:部分保持垂直相同,存放除了代码之外的知识。 onenote:本地化+个人性质。 博客园:网络化+社交性质。 github:专长于存代码。可以....
分类:
其他好文 时间:
2016-01-13 07:02:46
阅读次数:
241
Time was, you’d buy a TV, bring it home and plant it in your living room. And you’d watch it. For like a decade. And then, when the picture started fa...
分类:
其他好文 时间:
2016-01-13 02:03:50
阅读次数:
209
git diff HEAD -- readme.txt 命令可以查看工作区和版本库里面最新版本的区别 git checkout -- file 取消修改 git reset HEAD file 撤销暂存区
分类:
其他好文 时间:
2016-01-13 02:03:54
阅读次数:
300
import static org.junit.Assert.*;import java.util.Date;import java.util.Iterator;import java.util.List;import java.util.Set;import org.apache.solr.cli...
分类:
其他好文 时间:
2016-01-13 02:03:19
阅读次数:
211
There are a row ofnhouses, each house can be painted with one of thekcolors. The cost of painting each house with a certain color is different. You ha...
分类:
其他好文 时间:
2016-01-13 02:03:22
阅读次数:
197
正常删除:工作区 rm file;然后git rm file;然后git commit -m ""; 误删除工作区文件:git checkout -- file
分类:
其他好文 时间:
2016-01-13 02:03:29
阅读次数:
172
在本文为大家介绍两种思路实现点击页面其它地方隐藏该div,第一种是对document的click事件绑定事件处理程序..第一种思路分两步第一步:对document的click事件绑定事件处理程序,使其隐藏该div第二步:对div的click事件绑定事件处理程序,阻止事件冒泡,防止其冒泡到docume...
分类:
其他好文 时间:
2016-01-13 02:01:22
阅读次数:
117