码迷,mamicode.com
首页 >  
搜索关键字:number    ( 26994个结果
【Leetcode】Max Points on a Line
Given n points on a 2D plane, find the maximum number of points that lie on the same straight line.1st (7 tries)class Solution {public: int maxPoin...
分类:其他好文   时间:2014-08-20 14:04:02    阅读次数:234
E - Evaluate Matrix Sum
DescriptionGiven a matrix, the elements of which are all integer number from 0 to 50, you are required to evaluate the square sum of its specified sub...
分类:其他好文   时间:2014-08-20 14:03:22    阅读次数:248
I - Dividing Stones
DescriptionThere are N stones, which can be divided into some piles arbitrarily. Let the value of each division be equal to the product of the number ...
分类:其他好文   时间:2014-08-20 13:55:32    阅读次数:245
oracle 存储过程设置job定时执行
一、定义jobdeclare job number;begin dbms_job.submit( job =>job, what=>'PROC1;PROC2;', next_date => ...
分类:数据库   时间:2014-08-20 12:13:52    阅读次数:286
HDU 1394 Minimum Inversion Number(树状数组)
这是利用树状数组的性质来求解逆序数的问题,在这里我们首先得温习一下逆序数的概念,才能更好地理解这一道较为数学的题目! 当然,这也是一道树状数组较为基础的一道题目。...
分类:其他好文   时间:2014-08-20 01:25:25    阅读次数:259
<JS高级程序设计3>_PART4
1.基本数据类型:Undefined,null,Number,String,Boolean.引用数据类型:保存在内存中的对象.2.JS不允许直接访问内存中的位置,不能直接操作对象的内存空间.所以操作对象时,实际上是操作的对象的引用,而不是实际的对象.3.var num1 = 1;var num2 =...
分类:Web程序   时间:2014-08-20 01:22:25    阅读次数:190
[LeetCode]Two Sum
今晚再刷一题,题目如下:Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices o...
分类:其他好文   时间:2014-08-20 01:20:15    阅读次数:197
HDU - 4961 Boring Sum
Problem Description Number theory is interesting, while this problem is boring. Here is the problem. Given an integer sequence a1, a2, …, an, let S(i) = {j|1j is a multiple of ai}. If S(i) is not ...
分类:其他好文   时间:2014-08-20 00:07:25    阅读次数:210
POJ 3370 Halloween treats(抽屉原理)
Description Every year there is the same problem at Halloween: Each neighbour is only willing to give a certain total number of sweets on that day, no matter how many children call on him, so it ma...
分类:其他好文   时间:2014-08-19 22:28:45    阅读次数:278
Cracking the Coding Interview 5.2
Given a(decimal -e.g. 3.72)number that is passed in as a string, print the binary representation. If the number can not be represented accurately in b...
分类:其他好文   时间:2014-08-19 22:04:15    阅读次数:233
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!