![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
▼数学
hhfgeg
这个作者很懒,什么都没留下…
展开
-
POJ 3292 Semi-prime H-numbers
Semi-prime H-numbersTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 7372Accepted: 3158DescriptionThis problem is based on an exercise of David Hilbert, who pedagogically s原创 2014-07-21 11:15:31 · 1000 阅读 · 0 评论 -
HDU 2177 取(2堆)石子游戏
取(2堆)石子游戏Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1008 Accepted Submission(s): 606Problem Description有两堆石子,数量任意,可以不同。游原创 2014-07-25 21:20:13 · 1150 阅读 · 0 评论 -
HDU 1527 取石子游戏
取石子游戏Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 3512 Accepted Submission(s): 1755Problem Description有两堆石子,数量任意,可以不同。游戏开始原创 2014-07-25 19:20:11 · 1251 阅读 · 0 评论 -
HDU 2176 取(m堆)石子游戏
取(m堆)石子游戏 Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Problem Description原创 2014-07-26 14:32:16 · 1241 阅读 · 0 评论 -
HDU 1525 Euclid's Game
Euclid's GameTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 1938 Accepted Submission(s): 857Problem DescriptionTwo players,原创 2014-07-25 20:33:58 · 777 阅读 · 0 评论 -
数学公式
(1) 整数的唯一分解定理: 任意正整数都有且只有一种方式写出其素因子的乘积表达式。 A=(p1^k1)*(p2^k2)*(p3^k3)*....*(pn^kn) 其中pi均为素数(2) 约数和公式:对于已经分解的整数A=(p1^k1)*(p2^k2)*(p3^k3)*....*(pn^kn)有A的所有因子之和为原创 2014-07-21 16:04:31 · 1359 阅读 · 3 评论 -
HDU 1848 Fibonacci again and again
Fibonacci again and againTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 4892 Accepted Submission(s): 2040Problem Description原创 2014-07-26 16:16:32 · 1112 阅读 · 1 评论 -
博弈初级小结
一、巴什博奕!!!!巴什博奕(Bash Game):只有一堆n个物品,两个人轮流从这堆物品中取物,规定每次至少取一个,最多取m个。最后取光者得胜。显然,如果n=m+1,那么由于一次最多只能取m个,所以,无论先取者拿走多少个,后取者都能够一次拿走剩余的物品,后者取胜。因此我们发现了如何取胜的法则:如果n=(m+1)r+s,(r为任意自然数,s≤m),那么先取者要拿走s个物品,如果原创 2014-07-26 16:37:09 · 1127 阅读 · 2 评论 -
HDU 1730 Northcott Game
Northcott GameTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2688 Accepted Submission(s): 1149Problem Description Tom和Jerry原创 2014-07-27 10:29:17 · 1246 阅读 · 0 评论 -
HDU 2149 Public Sale
Public SaleTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3879 Accepted Submission(s): 2362Problem Description虽然不想,但是现实总归是现实原创 2014-07-25 17:30:15 · 978 阅读 · 0 评论 -
HDU 1846 Brave Game
Brave GameTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 6329 Accepted Submission(s): 4229Problem Description十年前读大学的时候,中国每年都原创 2014-07-25 17:01:26 · 1095 阅读 · 0 评论 -
POJ 2635 The Embarrassed Cryptographer
The Embarrassed CryptographerTime Limit: 2000MSMemory Limit: 65536KTotal Submissions: 11984Accepted: 3196DescriptionThe young and very promising cryptographer Odd Even has implemente原创 2014-07-21 09:48:34 · 1398 阅读 · 0 评论 -
POJ 1845 Sumdiv
SumdivDescriptionConsider two natural numbers A and B. Let S be the sum of all natural divisors of A^B. Determine S modulo 9901 (the rest of the division of S by 9901).InputThe only line原创 2014-07-21 16:10:28 · 1031 阅读 · 0 评论 -
POJ 2739 Sum of Consecutive Prime Numbers
Sum of Consecutive Prime NumbersDescriptionSome positive integers can be represented by a sum of one or more consecutive prime numbers. How many such representations does a given positive原创 2014-07-21 17:00:55 · 999 阅读 · 1 评论 -
ACdream原创群赛(16) J
SumTime Limit: 2000/1000MS (Java/Others) Memory Limit: 128000/64000KB (Java/Others)SubmitStatusProblem DescriptionYou are given an N*N digit matrix and you can get several horizontal o原创 2014-07-12 07:49:40 · 1298 阅读 · 0 评论 -
ACdream原创群赛(11)の风神日华神专场 C.神奇的%系列一
神奇的%系列一Time Limit: 6000/3000 MS (Java/Others) Memory Limit: 65536/32768 KB (Java/Others)Problem Description在计算机的世界里,%不是百分比,而是除法取余哟!比如: 4 % 2 = 0 5 % 3 = 2给你 2其中:1原创 2014-06-12 22:34:39 · 2180 阅读 · 2 评论 -
Codeforces Round #254 (Div. 2) C (444A)DZY Loves Physics
DZY Loves Physicstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputDZY loves Physics, and he enjoys calculati原创 2014-07-07 15:44:42 · 809 阅读 · 0 评论 -
HDU 4869 Turn the pokers
Turn the pokersTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 188 Accepted Submission(s): 48Problem Description原创 2014-07-22 21:27:15 · 1120 阅读 · 0 评论 -
ACdream 1064 完美数
完美数Time Limit: 2000/1000MS (Java/Others)Memory Limit: 128000/64000KB (Java/Others)SubmitStatisticNext ProblemProblem Description8是中国人很喜欢的一个数字,但是如果有3的存在就变成了38,就不是很好了。。你能告诉我,在[L, R原创 2014-07-14 17:05:23 · 1130 阅读 · 0 评论 -
杭电 1392 Surround the Trees
Surround the TreesTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 7146 Accepted Submission(s): 2729Problem Descriptio原创 2014-07-12 16:22:50 · 990 阅读 · 0 评论