码迷,mamicode.com
首页 >  
搜索关键字:number    ( 26994个结果
leetcode-[3]Max Points on a Line
Givennpoints on a 2D plane, find the maximum number of points that lie on the same straight line思路:最多的点,必然是点连成线时,所有斜率相同的最多的组合情况; 那么如果不在同一直线点的组合也可能斜率.....
分类:其他好文   时间:2014-09-20 02:14:26    阅读次数:270
OpenCASCADE Rational Bezier Curves
Abstract. Although polynomials offer many advantages, there exist a number of important curve and surface types which cannot be represented precisely ...
分类:其他好文   时间:2014-09-19 20:52:26    阅读次数:405
1.类型分析:
javascript 有三种基本数据类型(字符串string、数值number、布尔boolean ),两种引用数据类型(对象Object、数组Array)和两种特殊数据类型(Null 、Undefined )。var a1;var a2 = true;var a3 = 1;var a4 = "He...
分类:其他好文   时间:2014-09-19 17:07:55    阅读次数:214
convex hull - Graham's scam Algorithm version-0.1
input:a finite set of two dimentional points P (the number of points n is more than 2)output: the convex hull of PPesudo:1, sort P in Lexgrahical orde...
分类:其他好文   时间:2014-09-19 15:25:35    阅读次数:230
c++笔试题两道,求解其中一道
1.Implement a functionthat prints the numbers from 1 to 100.But for multiples of three(3) print “Zif”insteadof the number and for the multiples of five(5) print “Nab”. For numbers whichare multiples...
分类:编程语言   时间:2014-09-19 12:06:25    阅读次数:198
OGG-01224 Bad file number
今天在看OGG的日志时,发现如下OGG-01224 Bad file number错误,查阅资料才知道端口不可用,看了一下mgr的参数,发现是设置的DYNAMICPORTLIST 动态端口,为什么还不可用。看看MOS上面咋说的:   OGG GoldenGate Extract | Pump Abends with: "TCP/IP Error 9 (Bad Fil...
分类:其他好文   时间:2014-09-19 12:02:30    阅读次数:211
The Stern-Brocot Number System(树的左边还是右边)
题目大意: 求出给出数字在每一层树枝上的左边还是右边。 解题思路: 数的左边越来越小,右边越来越大,中间的1是分界点。...
分类:其他好文   时间:2014-09-19 10:16:15    阅读次数:161
UVALive-6656-Watching the Kangaroo(二分)
Day by day number of Kangaroos is decreasing just like tiger, whale or lions. So I decided to make them a sanctuary where they will live peacefully. I do not let visitors go near them. So I planted...
分类:其他好文   时间:2014-09-19 03:26:24    阅读次数:278
九度OJ1004 Median
题目描述:     Given an increasing sequence S of N integers, the median is the number at the middle position. For example, the median of S1={11, 12, 13, 14} is 12, and the median of S2={9, 10, 15, 16, 17...
分类:其他好文   时间:2014-09-18 23:50:54    阅读次数:237
75 int类型数组中除了一个数出现一次或两次以外,其他数都出现三次,求这个数。
single-number-of-array-with-other-three-times
分类:其他好文   时间:2014-09-18 18:38:44    阅读次数:150
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!