原题地址: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
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
原题地址: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
Given a linked list and a valuex, partition it
such that all nodes less thanxcome before nodes greater than or equal tox.You
should preserve the origi...
分类:
其他好文 时间:
2014-06-10 12:06:09
阅读次数:
205
iOS开发UI篇—Quartz2D简单使用一、画直线代码: 1 // 2 //
YYlineview.m 3 // 03-画直线 4 // 5 // Created by apple on 14-6-9. 6 // Copyright
(c) 2014年 itcase. All rights...
分类:
移动开发 时间:
2014-06-10 11:20:35
阅读次数:
360
一个数组由若干个整数组成,现要求:将偶数放到前面,奇数放到后面,并输出数组。提供了两种PYTHON的解法和一个RACKET解法。...
分类:
其他好文 时间:
2014-06-10 11:05:05
阅读次数:
163
Write an algorithm to print all ways of arranging
eight queens on an 8*8 chess board so that none of them share the same row,
column or diagonal.思路:本质...
分类:
其他好文 时间:
2014-06-10 10:36:29
阅读次数:
182