[user] name=yulongdong email=dongyl0501@gmail.com[core] editor=vim whitespace=trailing-space,space-before-tab,tab-in-indent[commit] template=~/.ssh/.gitmsg.template[color] ui=auto status=auto branch=auto[rerere] enabled=0[merge] tool=vimdiff[alias] co=check..
分类:
其他好文 时间:
2015-07-29 10:26:42
阅读次数:
140
<style>
div{
white-space:nowrap;
}
</style>强制div内的元素不随窗口缩小而换行
分类:
Web程序 时间:
2015-07-29 06:40:26
阅读次数:
196
突然想摆脱鼠标。按照最常用的顺序:开始:win通用类任务切换:alt+tab任务纵观切换:win+tab当前程序/窗口关闭:alt+F4激活当前程序菜单:F10程序左上角菜单:alt+space执行菜单中的快捷键:alt+菜单快捷键所有窗体最小化及还原:win+M/win+shift+M所有船体最小化及还原:win+..
Unique Paths II
Follow up for "Unique Paths":
Now consider if some obstacles are added to the grids. How many unique paths would there be?
An obstacle and empty space is marked as 1 and 0 r...
分类:
其他好文 时间:
2015-07-28 14:32:53
阅读次数:
95
  == 普通的英文半角空格  == ==   == no-break space (普通的英文半角空格但不换行)  == 中文全角空格 (不占位空格)  ==   == en空格 (半个中文宽度)  ==   ....
分类:
Web程序 时间:
2015-07-28 10:31:47
阅读次数:
346
一、修改tomcat/bin目录下的catalina.bat在“rem ----- Execute The Requested Command ----------------------”下加入JAVA_OPTS="-server -Xms800m -Xmx800m -XXNewSize=256M...
分类:
编程语言 时间:
2015-07-28 00:48:21
阅读次数:
117
Determine whether an integer is a palindrome. Do this without extra space.Some hints:Could negative integers be palindromes? (ie, -1)If you are thinki...
分类:
其他好文 时间:
2015-07-28 00:31:41
阅读次数:
124
Given a stringsconsists of upper/lower-case alphabets and empty space characters' ', return the length of last word in the string.If the last word doe...
分类:
其他好文 时间:
2015-07-28 00:28:09
阅读次数:
121
题目链接:http://poj.org/problem?id=2031n个球型的cell,如果任意两个球表面没有接触或者没有包含关系,就选择最近的表面建立通道;所以用maps[i][j]表示i,j之间的距离;注意:poj上:对于双精度输出,G++上面要用%f,C++则用%lf,否则WA#includ...
分类:
其他好文 时间:
2015-07-27 18:21:25
阅读次数:
98
Given a singly linked list, determine if it is a palindrome.
Follow up:
Could you do it in O(n) time and O(1) space?
给定一个单链表,判断它的元素是否是回文。要求在O(n)的时间复杂度和O(1)的空间复杂度内求解。如果没有时间复杂度的限制,可以直接将链表反转再比较就...
分类:
其他好文 时间:
2015-07-27 16:20:55
阅读次数:
88