原题地址:https://oj.leetcode.com/problems/reverse-words-in-a-string/题意:Given
an input string, reverse the string word by word.For example,Given s = "the s...
分类:
编程语言 时间:
2014-06-03 11:13:36
阅读次数:
258
工作时遇到这一问题,在网上找了一下解决方法,分享给大家。方法一、浏览器设置成兼容模式。方法二、安装服务器版的.Net40的补丁。http://download.csdn.net/detail/5653325/6642051方法三、点击VS的工具菜单--》库程序包管理器--》程序包管理器控制台(如果没...
分类:
其他好文 时间:
2014-06-03 11:10:10
阅读次数:
412
測试环境:Oracle Enterprise Linux 64-bit (5.8版本号) +
Oracle 11g 64位相关说明: Oracle11g64位软件的安装位置为/u01/app/oracle/product/11.2.0/dbhome_1
,数据库名为默认的orcl,Linux虚拟机的...
分类:
数据库 时间:
2014-06-03 09:57:08
阅读次数:
500
应用环境:Winsows7IIS+PHP5.5.12+Smarty3.1.81.IIS及PHP安装,参照《php手册》,这里不做细表。2.假定应用目录为C:\inetpub\wwwroot\smarty,解压缩Smarty3.1.8包,将libs文件夹拷贝至应用目录下;3.在应用目录下新建一下几个文...
分类:
其他好文 时间:
2014-06-03 09:48:34
阅读次数:
181
原题地址:https://oj.leetcode.com/problems/word-break/题意:Given
a stringsand a dictionary of wordsdict, determine ifscan be segmented into a
space-separated...
分类:
编程语言 时间:
2014-06-03 09:14:24
阅读次数:
293
1. MongoDB是一个Document Database。A record in MongoDB
is a document,MongoDB documents are similar to JSON
objects。一个Document可以包含其他Documents,并且可以包含Arrays和...
分类:
数据库 时间:
2014-06-03 09:09:17
阅读次数:
313
List Comprehension1.列表推导 [i for i in range(10) if
i%2 == 0] -> [0, 2, 4, 6, 8], i也可以是一个函数,该风格比C语言思想的代码风格效率高2.enumerate
取到了序列中的序列号好内容forindex,iteminenu...
分类:
编程语言 时间:
2014-06-03 09:08:01
阅读次数:
254
安装Linux
CentOS时,需要在硬盘建立CentOS使用的分区,在大多情况下,至少需要为CentOS建立以下3个分区。(1)/boot分区(不是必须的):/boot分区用于引导系统,它包含了操作系统的内核和在启动系统过程中所要用到的文件,该分区的大小一般为100MB。(2)swap分区:swa...
分类:
其他好文 时间:
2014-06-03 09:06:36
阅读次数:
259
在centos下安装vbox addition需要下载当前内核的头文件yum install
kernel-devel但是下载了头文件后,仍然失败,原来是下载的头文件与当前的内核版本不对应,于是,只好,更新内核yum install
kernel重启,使用新版本内核启动,再安装vbox additi...
分类:
其他好文 时间:
2014-06-03 09:01:12
阅读次数:
250
原题地址:https://oj.leetcode.com/problems/max-points-on-a-line/题意:Givennpoints
on a 2D plane, find the maximum number of points that lie on the same strai...
分类:
编程语言 时间:
2014-06-03 08:55:48
阅读次数:
282