码迷,mamicode.com
首页 >  
搜索关键字:disk space checking    ( 21310个结果
span标签换行
span{word-break:normal;width:auto;display:block;white-space:pre-wrap;word-wrap:break-word;overflow:hidden;} white-space -- 通过HTML文档的源代码的排版方式控制页面显示文本的排...
分类:其他好文   时间:2014-07-10 00:07:38    阅读次数:332
css使用技巧
1) 网站上经常会出现用户输入一大段字符和字母以至于文字无法正常折行,把版式破坏,这样我们就要参考以下样式:word-wrap:break-word; overflow:hidden; 当然必须得有宽度属性值。2) 文字过长要出现省略号样式如下:white-space: nowrap; text-o...
分类:Web程序   时间:2014-07-09 23:51:24    阅读次数:474
Teradata中fastload使用
Teradata Fastload Utility 是teradata数据库中一个基于命令行的快速load大量数据到一个空表的工具。数据可以从以下途径被load:1) Disk 或 tape;2) 网络服务器上的文件;Teradata Fastload使用多个session来load data,但是...
分类:其他好文   时间:2014-07-07 17:19:52    阅读次数:220
LeetCode: Word Break [139]
【题目】 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, given s = "leetcode", dict = ["leet", "code"]. Return true because "leetcode" can be segm...
分类:其他好文   时间:2014-06-30 09:02:26    阅读次数:276
Set Matrix Zeroes
题目 Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in place. Follow up: Did you use extra space? A straight forward solution using O(mn) space is probab...
分类:其他好文   时间:2014-06-30 06:17:09    阅读次数:245
ural 1143. Electric Path(凸包上最短哈密顿路径)
题目链接:http://acm.timus.ru/problem.aspx?space=1&num=1143 题意:逆时针给一个凸包的n(n 解法:求最短哈密顿本身是一个NP问题,但是因为是凸包上,可以利用这个做;有一个性质:凸包上的最短哈密顿路径不会出现交叉。所以可以看出来从一点出发,他要么和顺时针相邻点连接,要么和逆时针相邻点相连接;通过这个性质可以通过dp做: ans[i][j...
分类:其他好文   时间:2014-06-30 06:11:07    阅读次数:328
LeetCode: Linked List Cycle II [142]
【题目】 Given a linked list, return the node where the cycle begins. If there is no cycle, return null. Follow up: Can you solve it without using extra space? 【题意】 给定一个单向链表,如果链表有环,则返回环开始的位置。 【思路】 仍然是维护两个指针, p1, p2, p1每次走一步, p2每次走两步 ...
分类:其他好文   时间:2014-06-29 23:59:21    阅读次数:354
ural1147(Shaping Regions)矩形切割
题目链接:http://acm.timus.ru/problem.aspx?space=1&num=1147 题意:一个10000*10000的矩阵,初始颜色都为1,然后最多2500次涂色,每次涂色将一个矩形的面积涂成某个特定颜色,问涂完之后每种颜色最终的面积。 解法: 代码:/*********************************************...
分类:Windows程序   时间:2014-06-29 23:14:16    阅读次数:408
LeetCode: Linked List Cycle [141]
【题目】 Given a linked list, determine if it has a cycle in it. Follow up: Can you solve it without using extra space? 【题意】 判断一个单向链表是否有环 【思路】 维护两个指针p1和p2,p1每次向前移动一步,p2每次向前移动两步 如果p2能够追上p1,则说明链表中存在环...
分类:其他好文   时间:2014-06-29 22:51:33    阅读次数:267
[转] Barriers and journaling filesystems
http://lwn.net/Articles/283161/ Journaling filesystems come with a big promise: they free system administrators from the need to worry about disk corr...
分类:其他好文   时间:2014-06-29 18:51:33    阅读次数:246
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!