码迷,mamicode.com
首页 >  
搜索关键字:space    ( 18273个结果
每天一个linux命令(12):more命令 (http://www.cnblogs.com/peida/)
more命令,功能类似cat,cat命令是整个文件的内容从上到下显示在屏幕上。more会以一页一页的显示方便使用者逐页阅读,而最基本的指令就是按空白键(space)就往下一页显示,按b键就会往回(back)一页显示,而且还有搜寻字串的功能。more命令从前向后读取文件,因此在启动时就加载整个文件。1...
分类:Web程序   时间:2014-11-08 18:15:11    阅读次数:183
leetcode 9.Palindrome Number
Determine whether an integer is a palindrome. Do this without extra space.Notes:1) Negative number is notpalindrome.2) Compare from head to tail, cons...
分类:其他好文   时间:2014-11-08 16:43:57    阅读次数:124
Merge Sorted Array
Merge Sorted ArrayGiven two sorted integer arrays A and B, merge B into A as one sorted array.Note:You may assume that A has enough space (size that i...
分类:其他好文   时间:2014-11-08 16:28:21    阅读次数:191
sort list (7)
Sort a linked list in O(n log n) time using constant space complexity.解决这个问题让我很是纠结,能不能用快速排序呢?我试了很多次,结果总是超时,甚至在用系统自带的stl时也是这样。为什么呢?事后想想,快速排序没有充分利用链表的连贯...
分类:其他好文   时间:2014-11-08 13:20:59    阅读次数:245
POJ - 1850 Code
Description Transmitting and memorizing information is a task that requires different coding systems for the best use of the available space. A well known system is that one where a number is ass...
分类:其他好文   时间:2014-11-08 09:19:39    阅读次数:188
Merge Sorted Array
Given two sorted integer arrays A and B, merge B into A as one sorted array.Note:You may assume that A has enough space (size that is greater or equal...
分类:其他好文   时间:2014-11-08 00:46:40    阅读次数:131
[leetcode]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 respectively in ...
分类:其他好文   时间:2014-11-07 20:56:34    阅读次数:272
UGUI学习笔记之Canvas组件
此次记录数据为Unity4.6 B21版本。新版的UGUI已经有很好的效果,开发效率也大大的提高。跟NGUI操作类似,制作3D UI也非常方便。一、Canvas->Render Mode提供了三种渲染模式。1.Screen Space-Overlay模式不支持分辨率自适应,在Rect Transfo...
分类:其他好文   时间:2014-11-07 20:31:29    阅读次数:327
CSS- 文本超出指定宽度后隐藏并显示为省略号
一般的文字截断(适用于内联与块):.text-overflow { display:block;/*内联对象需加*/ width:25em; word-break:keep-all;/* 不换行 */ white-space:nowrap;/* 不换行 */ overflow:hidden;/*.....
分类:Web程序   时间:2014-11-07 18:47:11    阅读次数:224
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space(Java堆空间内存溢出)解决方法
http://hi.baidu.com/619195553dream/blog/item/be9f12adc1b5a3e71f17a2e9.html问题描述Exception in thread "main"java.lang.OutOfMemoryError: Java heap space解决方...
分类:编程语言   时间:2014-11-07 14:20:19    阅读次数:231
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!