\setbeamercolor{postit}{fg=black,bg=white}\begin{beamercolorbox}[rounded=true,shadow=true, sep=0em,wd=\textwidth,%ht=2cm,dp=1cm,ce nter]{postit}\begin...
分类:
其他好文 时间:
2014-06-18 21:41:46
阅读次数:
317
table中td会随着里面的内容伸缩,设置其width样式并没有效果。这个时候需要下面的CSS可以实现。首先是设置table.table {table-layout:fixed;}其次是td.table td { overflow: hidden; white-space: nowra...
分类:
其他好文 时间:
2014-06-18 18:06:34
阅读次数:
221
一、Servlet生命周期init(ServletConfig config) ----->初始化service(ServletRequest req, ServletResponse res) ------->提供服务方法destroy() --------> 销毁1、tomcat服务器启动时,没...
分类:
其他好文 时间:
2014-06-18 16:09:50
阅读次数:
198
Question:Given a stringsand a dictionary of
wordsdict, add spaces insto construct a sentence where each word is a valid
dictionary word.Return all suc...
分类:
其他好文 时间:
2014-06-16 06:22:37
阅读次数:
246
最小生成树变形。题目已经说得很清楚,要求到达每个房间,只需求一个最小生成树,这时边权和一定是最小的,并且那k个房间一定与所有点都有通路,即一定都可以逃脱。但是有可能当所有点都有了该去的安全房间以后,安全房间之间并不需要连边了,这样就会变成多个树,不好处理。想一想,既然不需要连边了,也就是边权不再增加...
分类:
其他好文 时间:
2014-06-15 11:34:56
阅读次数:
151
- (void)viewDidLoad{ [super viewDidLoad];
//创建UIActivityIndicatorView并设置样式:WhiteLarge为37 * 37,Gray和White为20 * 20
_activityIndicatorView =...
分类:
其他好文 时间:
2014-06-13 15:44:23
阅读次数:
217
CISCO上配置PPPOE拨号r1(config)#vpdnenable开启虚拟拨号VPDNr1(config)#vpdn-grouppppoe定义组名(pppoe)r1(config-vpdn)#request-dialin这里是请求拨入r1(config-vpdn-req-in)#protocolpppoe设置拨号协议为PPPOEr1(config)#inethernet0进入E0端口r1(config-if)#half-duplex半..
分类:
其他好文 时间:
2014-06-10 22:48:24
阅读次数:
302
题目
Given an array with n objects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors in the order red, white and blue.
Here, we will use the...
分类:
其他好文 时间:
2014-06-10 07:21:21
阅读次数:
261
原题地址:https://oj.leetcode.com/problems/sort-colors/题意:Given
an array withnobjects colored red, white or blue, sort them so that objects of
the same col...
分类:
编程语言 时间:
2014-06-08 20:56:32
阅读次数:
394