码迷,mamicode.com
首页 >  
搜索关键字:positive    ( 2430个结果
【LeetCode】First Missing Positive (2 solutions)
First Missing PositiveGiven an unsorted integer array, find the first missing positive integer.For example,Given[1,2,0]return3,and[3,4,-1,1]return2.Yo...
分类:其他好文   时间:2014-12-15 15:10:31    阅读次数:138
UVA 12672 Eleven(DP)
12672 - ElevenTime limit: 5.000 secondsIn this problem, we refer to the digits of a positive integer as the sequence of digits required to writeit in ...
分类:其他好文   时间:2014-12-12 14:36:30    阅读次数:184
poj 2006 Happy2006
Happy 2006 Time Limit: 3000MS   Memory Limit: 65536K Total Submissions: 9936   Accepted: 3411 Description Two positive integers are said to be relatively prime to each ot...
分类:移动开发   时间:2014-12-10 18:04:40    阅读次数:213
第三届沈阳航空航天大学校赛(大连海事大学赛)---C: Greater or Lesser (sort)
Greater or Lesser Time Limit: 2 Sec  Memory Limit: 128 MB Description Baby A has given you N positive integers, then, he will ask M times. Each query is positive integer x. For each query...
分类:其他好文   时间:2014-12-10 18:03:40    阅读次数:147
FZU2108:Mod problem(数学)
Problem Description Given one non-negative integer A and one positive integer B, it’s very easy for us to calculate A Mod B. Here A Mod B means the remainder of the answer after A is divided by B. ...
分类:其他好文   时间:2014-12-10 16:20:17    阅读次数:238
FZU2109:Mountain Number(数位DP)
Problem Description One integer number x is called "Mountain Number" if: (1) x>0 and x is an integer; (2) Assume x=a[0]a[1]...a[len-2]a[len-1](0≤a[i]≤9, a[0] is positive). Any a[2i+1] is larger o...
分类:其他好文   时间:2014-12-10 16:18:23    阅读次数:129
LeetCode First Missing Positive
Given an unsorted integer array, find the first missing positive integer.For example,Given[1,2,0]return3,and[3,4,-1,1]return2.Your algorithm should ru...
分类:其他好文   时间:2014-12-10 14:03:26    阅读次数:144
Bloom Filter(布隆过滤器)
布隆过滤器用于测试某一元素是否存在于给定的集合中,是一种空间利用率很高的随机数据结构(probabilistic data structure),存在一定的误识别率(false positive),即布隆过滤器报告某一元素存在于某集合中,但是实际上该元素并不在集合中,但是没有错误识别的情形(fals...
分类:其他好文   时间:2014-12-08 12:00:24    阅读次数:185
poj 2109 Power of Cryptography
http://poj.org/problem?id=2109题意:kn= p,已知n,p,求k。1=1 and an integer p>= 1 you have to write a program that determines the n th positive root of p. In t...
分类:其他好文   时间:2014-12-03 21:08:49    阅读次数:141
hdu 1664 Different Digits, spoj 3929 , 同余,bfs
Time Limit: 10000/4000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 820    Accepted Submission(s): 202 Problem Description Given a positive integer n, yo...
分类:其他好文   时间:2014-12-03 00:30:09    阅读次数:280
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!