原题地址:https://oj.leetcode.com/problems/divide-two-integers/题意:Divide
two integers without using multiplication, division and mod
operator.解题思路:不许用乘、除和求...
分类:
编程语言 时间:
2014-06-10 21:43:00
阅读次数:
267
昨天调试远程服务器,为了增加socket链接数,理所当然的进行了limits.conf配置,之后悲剧发生了。
利用xshell再度远程时,被强制T了。链接瞬间即断,如果幸运,会弹出 ”Connection closed by foreign host“ 提示。
开始以为是防火墙或网络行为的原因,沟....
分类:
其他好文 时间:
2014-06-10 20:29:10
阅读次数:
472
1.安装python
双击运行就可以了当安装好了Pyhon,记得要配置环境变量,把C:\Python27添加到PATH中2.安装pyqt默认安装就可以3.把eric4.4.2拷贝到C:\目录下,点击eric4.4.2中的install.py文件进行安装。4.Pythonw配置:您可以通过点击安装目录...
分类:
编程语言 时间:
2014-06-10 20:15:47
阅读次数:
268
原题地址:https://oj.leetcode.com/problems/container-with-most-water/题意:Givennnon-negative
integersa1,a2, ...,an, where each represents a point at coordina...
分类:
编程语言 时间:
2014-06-10 20:05:44
阅读次数:
213
1.准备编译环境gcc2.去官网下载要安装的对应版本的python的源代码下载地址:https://www.python.org/downloads/source/你可以选择你要下载的版本,用wget指令来下载相应的源代码3.解压下载的代码包tar
-zxvf Python-x.x.x.tgzcd ...
分类:
编程语言 时间:
2014-06-10 19:52:52
阅读次数:
240
原题地址:https://oj.leetcode.com/problems/roman-to-integer/题意:Given
a roman numeral, convert it to an integer.Input is guaranteed to be within the
range f...
分类:
编程语言 时间:
2014-06-10 19:34:10
阅读次数:
255
HP-Socket 是一套通用的高性能 TCP/UDP Socket
组件,包括服务端组件、client组件和 Agent 组件,广泛适用于各种不同应用场景的 TCP/UDP 通信系统,提供
C/C++、C#、Delphi、E(易语言)、Java、Python 等编程语言接口。HP-Socket.....
分类:
其他好文 时间:
2014-06-10 17:16:54
阅读次数:
259
原题地址:https://oj.leetcode.com/problems/integer-to-roman/题意:Given
an integer, convert it to a roman numeral.Input is guaranteed to be within the
range f...
分类:
编程语言 时间:
2014-06-10 17:06:11
阅读次数:
261
原题地址:https://oj.leetcode.com/problems/palindrome-number/题意:Determine
whether an integer is a palindrome. Do this without extra space.click to show
spo...
分类:
编程语言 时间:
2014-06-10 16:06:52
阅读次数:
286
Java NIO即Java Non-blocking IO(Java非阻塞I/O),因为是在Jdk1.4之后增加的一套新的操作I/O工具包,所以一般会被叫做Java New IO。NIO是为提供I/O吞吐量而专门设计,其卓越的性能甚至可以与C媲美。...
分类:
编程语言 时间:
2014-06-10 11:02:26
阅读次数:
270