
趣味数学问题
文章平均质量分 80
better_space
这个作者很懒,什么都没留下…
展开
-
【杭电1222】Wolf and Rabbit
Wolf and RabbitTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 7476 Accepted Submission(s): 3749Problem DescriptionThere is a hil原创 2016-08-04 14:47:14 · 453 阅读 · 0 评论 -
【codeforces】Non-square Equation(数学推导)
time limit per test 1 secondmemory limit per test 256 megabytesinput standard inputoutput standard outputLet's consider equation:x2 + s(x)·x - n = 0, wh原创 2016-11-08 22:45:34 · 467 阅读 · 0 评论 -
【lightoj1045】数学-小知识点
E - E 使用long longTime Limit:2000MS Memory Limit:32768KB 64bit IO Format:%lld & %lluSubmit Status Practice LightOJ 1045 uDebugDescriptionFactorial of an integer is defined b原创 2016-08-23 21:18:57 · 380 阅读 · 0 评论 -
【lightoj1282】数学-小知识点
F - F 使用long longTime Limit:2000MS Memory Limit:32768KB 64bit IO Format:%lld & %lluSubmit Status Practice LightOJ 1282 uDebugDescriptionYou are given two integers: n and k,原创 2016-08-23 21:53:36 · 532 阅读 · 0 评论 -
lightoj1138数学—数学小知识点
G - G 使用long longTime Limit:2000MS Memory Limit:32768KB 64bit IO Format:%lld & %lluSubmit Status Practice LightOJ 1138 uDebugDescriptionYou task is to find minimal natural原创 2016-08-23 21:11:24 · 368 阅读 · 0 评论 -
【lightoj1294】数学
H - H 使用long longTime Limit:2000MS Memory Limit:32768KB 64bit IO Format:%lld & %lluSubmit Status Practice LightOJ 1294 uDebugDescriptionGiven two integers: n and m and n is原创 2016-08-23 21:01:54 · 302 阅读 · 0 评论 -
【lightoj1008】数学找规律
C - C 使用long longTime Limit:500MS Memory Limit:32768KB 64bit IO Format:%lld & %lluSubmit Status Practice LightOJ 1008 uDebugDescriptionFibsieve had a fantabulous (yes, it's原创 2016-08-23 20:56:48 · 353 阅读 · 0 评论 -
【codeforces】数学
B - B 使用long longTime Limit:1000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uSubmit Status Practice CodeForces 597ADescriptionFind the number of k-divisible nu原创 2016-08-23 20:53:24 · 437 阅读 · 0 评论 -
【codeforces】数学
A - A 使用long longTime Limit:1000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uSubmit Status Practice CodeForces 598ADescriptionIn this problem you are to calculat原创 2016-08-23 20:50:37 · 296 阅读 · 0 评论 -
【杭电oj1576】A/B
A/BTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3346 Accepted Submission(s): 2540Problem Description要求(A/B)%9973,但由于A很大,我们原创 2016-08-07 20:36:49 · 612 阅读 · 5 评论 -
欧拉函数
欧拉函数 对正整数n,欧拉函数是少于或等于n的数中与n互质的数的数目。例如euler(8)=4,因为1,3,5,7均和8互质。 Euler函数表达通式:euler(x)=x(1-1/p1)(1-1/p2)(1-1/p3)(1-1/p4)…(1-1/pn),其中p1,p2……pn为x的所有素因数,x是不为0的整数。euler(1)=1(唯一和1互质的数就是1本身转载 2016-08-08 09:03:58 · 232 阅读 · 0 评论 -
【暑期第二次训练赛】小火山的跳子游戏
1905: 小火山的跳子游戏Time Limit: 1 Sec Memory Limit: 128 MBSubmit: 437 Solved: 95SubmitStatusWeb BoardDescription 小火山和火山火山在一块玩跳子游戏。规则如下: 1:跳子的起始位置为0,棋盘大小从1到N 2:每次跳子跳k步。 例如当前位置为i, 那么下原创 2016-08-10 19:55:48 · 306 阅读 · 0 评论 -
【hdoj2136】Largest prime factor
Largest prime factorTime Limit: 5000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 11191 Accepted Submission(s): 3961Problem DescriptionEver原创 2016-10-28 13:13:39 · 248 阅读 · 0 评论