Building a Space StationTime Limit:1000MSMemory Limit:30000KB64bit IO Format:%I64d & %I64uSubmitStatusDescriptionYou are a membe...
分类:
其他好文 时间:
2015-01-25 06:30:10
阅读次数:
130
做前端这行的 能直接贴代码就直接贴代码了,不用多说什么别的效果需要引入jquery和jquery.masonry.min.js这两个JSJS代码如下:$(document).ready(function(){ var $container = $('.space_main_con1 .con'); ...
分类:
Web程序 时间:
2015-01-24 21:23:04
阅读次数:
308
题目:Given amxnmatrix, if an element is 0, set its entire row and column to 0. Do it in place.click to show follow up.Follow up:Did you use extra space?...
分类:
编程语言 时间:
2015-01-24 21:12:54
阅读次数:
192
Given a linked list, return the node where the cycle begins. If there is no cycle, returnnull.Follow up:Can you solve it without using extra space?Has...
分类:
其他好文 时间:
2015-01-24 15:46:11
阅读次数:
118
Given a linked list, determine if it has a cycle in it.Follow up:Can you solve it without using extra space?思路:1.可以用hash表记录链表中每个节点的地址,然后遍历发现重复,即有环,否则到...
分类:
其他好文 时间:
2015-01-24 15:43:21
阅读次数:
166
在读取jxl的时候,运行的时候报错: java.lang.OutOfMemoryError: Java heap space at jxl.read.biff.SSTRecord.有人说修改MyEclipse.ini,我的行不通,解决方案是打开window->preferences->Java->....
分类:
编程语言 时间:
2015-01-24 01:38:20
阅读次数:
203
JAVA虚拟机新生代,包括eden space+2个survivor空间。
新生代用来存放新近创建的对象,新生代的特点是对象更新速度快,在短时间内产生大量的“死亡对象”。对年轻代的垃圾回收称作次级回收 (minor gc)
1、新生代与次级回收
新生代分为三个区域, 一个eden spac , 2个大小相同的survivor, 应用程序只能使用一个eden和一个survivor, 当发生...
分类:
其他好文 时间:
2015-01-23 23:06:50
阅读次数:
300
题目链接:
2031
http://write.blog.csdn.net/postedit?ref=toolbar
题意:
在三维空间中有N个球形空间站,给出每个空间站的三维坐标x,y,z 和半径.其中空间站之间可能存在相交,包含,相离等情况。如果非相离则两空间站的距离为0。求连同所有空间站的最小生成树。
题解:
三维构图两空间站的...
分类:
其他好文 时间:
2015-01-23 18:34:17
阅读次数:
163
异常截图: 解决方法: export MAVEN_OPTS="-Xmx2g -XX:MaxPermSize=512M -XX:ReservedCodeCacheSize=512m"
分类:
编程语言 时间:
2015-01-23 17:45:40
阅读次数:
190
Given a string s and a dictionary of words dict, determine if s can be segmented into a space-separated sequence of one or more dictionary words.For example, givens = "leetcode",dict = ["leet", "code"...
分类:
其他好文 时间:
2015-01-23 13:21:09
阅读次数:
131