Find the contiguous subarray within an array (containing at least one number) which has the largest product. For example, given the array [2,3,-2,4],t ...
分类:
其他好文 时间:
2016-04-17 07:59:43
阅读次数:
107
Bootstrap 的 dropdown menu 在 responsive table内 会被外层遮挡住 解决办法: ...
分类:
其他好文 时间:
2016-04-15 14:04:35
阅读次数:
1390
Given a roman numeral, convert it to an integer. Input is guaranteed to be within the range from 1 to 3999. ...
分类:
其他好文 时间:
2016-04-13 20:37:15
阅读次数:
120
题目:
Given an integer, convert it to a roman numeral.
Input is guaranteed to be within the range from 1 to 3999.
题目大意:
输入一个整形数字,将其转化为罗马数字,范围在1--3999之间。
思路:
在做此题之前特意谷歌了一下罗马数字是什么鬼,因为之前只认识...
分类:
其他好文 时间:
2016-04-10 14:54:37
阅读次数:
277
Given an integer, convert it to a roman numeral. Input is guaranteed to be within the range from 1 to 3999. ...
分类:
其他好文 时间:
2016-04-09 00:07:53
阅读次数:
215
Memory in Linux is organized in the form of pages (typically 4 KB in size). Contiguous linear addresses within a page are mapped onto contiguous physi ...
分类:
其他好文 时间:
2016-04-07 20:55:24
阅读次数:
315
通常之前我们在打开文件的时候都是:file=open("a.txt")
try:
data=file.read()
finally:
file.close()*每一个打开文件之后要关闭文件描述符,但是使用with语句则不用:whihopen("a.txt")asf:
printf.readline()这个是with默认封装的好的一个魔法盒子,封装了__enter__和__exit..
分类:
编程语言 时间:
2016-04-05 20:15:05
阅读次数:
218
原文don’t use @import Using @import within a stylesheet adds one more roundtrip to the overall download time of the page. Using @import in IE causes the ...
分类:
其他好文 时间:
2016-04-05 12:39:58
阅读次数:
150
Given a roman numeral, convert it to an integer. The answer is guaranteed to be within the range from 1 to 3999. Example IV -> 4 XII -> 12 XXI -> 21 X ...
分类:
其他好文 时间:
2016-04-05 12:27:59
阅读次数:
138
eclipse里启动tomcat的时候出现以下的错误: Server Tomcat v6.0 at localhost was unable to start within 45 seconds. If the server requires more time, try increasing th ...
分类:
其他好文 时间:
2016-04-02 18:59:41
阅读次数:
208