码迷,mamicode.com
首页 >  
搜索关键字:space    ( 18273个结果
【LeetCode从零单排】No.9 Palindrome Number
题目      这道题是迄今为止最快通过的一道题,改了两次就过了,runtime一般(中等偏下,这点不太满意)。Palindrome就是判断一个整数是否对称。Determine whether an integer is a palindrome. Do this without extra space.click to show spoilers.Some hints:Could negativ...
分类:其他好文   时间:2015-02-07 13:16:36    阅读次数:141
unity3d控制台 私人定制
??孙广东:2015-2-7/1:19  转载请注明出处:http://blog.csdn.net/u010019717更全的内容请看我的游戏蛮牛地址:http://www.unitymanual.com/space-uid-18602.html  先看一下效果:     告别枯燥乏味和单调吧!其实很简单的, 就是让字符串中有Rich Text标记,  因为unity支持,所以使用就行了。可以详细...
分类:编程语言   时间:2015-02-07 01:46:33    阅读次数:278
poj2948--Martian Mining(dp)
Martian Mining Time Limit: 5000MS   Memory Limit: 65536K Total Submissions: 2459   Accepted: 1517 Description The NASA Space Center, Houston, is less than 200 miles from Sa...
分类:其他好文   时间:2015-02-06 20:31:49    阅读次数:157
[LeetCode]58.Length of Last Word
Given a string s consists of upper/lower-case alphabets and empty space characters ’ ‘, return the length of last word in the string.If the last word does not exist, return 0.Note: A word is defined...
分类:其他好文   时间:2015-02-06 18:53:14    阅读次数:146
【转】PF_NETLINK应用实例NETLINK_KOBJECT_UEVENT具体实现--udev实现原理
相对于linux来说,udev还是一个新事物。然而,尽管它03年才出现,尽管它很低调(J),但它无疑已经成为linux下不可或缺的组件了。udev是什么?它是如何实现的?最近研究Linux设备管理时,花了一些时间去研究udev的实现。 udev是什么?u 是指user space,dev是...
分类:Web程序   时间:2015-02-06 18:15:34    阅读次数:304
Reverse Words in a String II
Given an input string, reverse the string word by word. A word is defined as a sequence of non-space characters.The input string does not contain lead...
分类:其他好文   时间:2015-02-06 16:36:03    阅读次数:104
移动web端css实现文本单行省略及多行省略
单行省略: selector{ -o-text-overflow: ellipsis;/*兼容opera*/ text-overflow: ellipsis;/*这就是省略号喽*/ overflow: hidden;/*设置超过的隐藏*/ white-space: nowrap;/*设置不折行*/ width:200px;/*设置宽度*/ } 多行省略: 因为移动端浏览器用...
分类:移动开发   时间:2015-02-06 13:15:50    阅读次数:211
[LeetCode]119.Pascal's Triangle II
Given an index k, return the kth row of the Pascal’s triangle.For example, given k = 3, Return [1,3,3,1].Note: Could you optimize your algorithm to use only O(k) extra space?...
分类:其他好文   时间:2015-02-06 13:15:11    阅读次数:218
PHP base62编码解码实现
1 <?php 2 /** 3 * @desc base62编码解码实现 4 * @param String $data 5 * @author Space 6 * @date 2014/8/6 7 **/ 8 9 function base62_encode($data...
分类:Web程序   时间:2015-02-06 13:05:36    阅读次数:471
html 超出隐藏
span标签 当内容超出 强制不断行 自动换行white-space:nowrap;white-space:norma;display:inline-block;超出自动隐藏 英方不断行显示 (必须在块元素内)overflow:hidden;white-space:nowrap;而如果希望在文字后面...
分类:Web程序   时间:2015-02-06 11:08:49    阅读次数:153
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!