码迷,mamicode.com
首页 >  
搜索关键字:prime    ( 2475个结果
HDU 1863 畅通工程【最小生成树,Prime算法+Kuruskal算法】
畅通工程 Time Limit: 1000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 25784    Accepted Submission(s): 11234 Problem Description 省政府“畅通工程”的目标是使全省任何两...
分类:编程语言   时间:2016-08-03 00:11:19    阅读次数:240
hdu4135 容斥定理
Co-prime Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3587 Accepted Submission(s): 1419 Proble ...
分类:其他好文   时间:2016-08-02 23:55:14    阅读次数:190
204. Count Primes
题目: Description: Count the number of prime numbers less than a non-negative number, n. Credits:Special thanks to @mithmatt for adding this problem and ...
分类:其他好文   时间:2016-08-02 11:27:24    阅读次数:177
HDU - The number of divisors(约数) about Humble Numbers
Description A number whose only prime factors are 2,3,5 or 7 is called a humble number. The sequence 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 14, 15, 16, 18 ...
分类:其他好文   时间:2016-08-02 01:16:38    阅读次数:249
264. Ugly Number II
题目: Write a program to find the n-th ugly number. Ugly numbers are positive numbers whose prime factors only include 2, 3, 5. For example, 1, 2, 3, 4, ...
分类:其他好文   时间:2016-08-01 22:31:26    阅读次数:128
Count Primes
Count the number of prime numbers less than a non-negative number, n ...
分类:其他好文   时间:2016-07-31 12:56:15    阅读次数:95
poj 2739 Sum of Consecutive Prime Numbers
...
分类:其他好文   时间:2016-07-30 22:34:40    阅读次数:132
HDU 2136 Largest prime factor 数论
Largest prime factor Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u Largest prime factor Description Everybody knows any number ...
分类:其他好文   时间:2016-07-30 19:37:52    阅读次数:126
P1217【洛谷FromUSACO】[USACO1.5]回文质数 Prime Palindromes
直接上题——【传送门:http://www.luogu.org/problem/show?pid=1217】 题目来源USACO,NOCOW翻译,洛谷转载,懂(F_Q)的童鞋们可以去USACO官网逛逛……<!———————————下面是原题—————————————————————————————- ...
分类:其他好文   时间:2016-07-30 14:52:41    阅读次数:321
poj3126——Prime Path(BFS)
DescriptionThe ministers of the cabinet were quite upset by the message from the Chief of Security stating that they would all have to change the four-digit room numbers on their offices. — It is a m...
分类:其他好文   时间:2016-07-30 12:13:16    阅读次数:179
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!