数学
MIsike
创造,要有毁灭的觉悟!
展开
-
Play the Dice
Play the Dice时间限制:2000 MS内存限制:65535 MB问题描述There is a dice with N sides, which are numbered from 1,2,...,n and have the equal possibility to show up when one rolls a dic原创 2013-05-17 22:53:14 · 728 阅读 · 0 评论 -
Problem D: Prime Numbers…Again!
Problem D: Prime Numbers…Again!Time Limit: 1 Sec Memory Limit: 128 MBDescriptionWe can write some of the numbers as the sum of some distinct consecutive prime numbers. For ins原创 2013-05-15 14:10:15 · 738 阅读 · 0 评论 -
Staircases
1017. StaircasesTime limit: 1.0 secondMemory limit: 64 MBOne curious child has a set of N little bricks (5 ≤ N ≤ 500). From these bricks he builds different staircases. Staircase consist原创 2013-08-03 15:29:50 · 619 阅读 · 0 评论 -
Don’t Ask Woman about Her Age
1104. Don’t Ask Woman about Her AgeTime limit: 1.0 secondMemory limit: 64 MBMrs Little likes digits most of all. Every year she tries to make the best number of the year. She tries to be原创 2013-08-07 14:19:43 · 1122 阅读 · 0 评论 -
三角形数
三角形数[编辑]维基百科,自由的百科全书本条目需要扩充。(2013年2月14日) 请协助改善这篇条目,更进一步的信息可能会在讨论页或扩充请求中找到。请在扩充条目后将此模板移除。一定数目的点或圆在等距离的排列下可以形成一个等边三角形,这样的数被称为三角形数。比如10个点可以组成一个等边三角形,因此10是一个三角形数:转载 2013-08-31 11:27:05 · 2808 阅读 · 0 评论 -
Paths on a Grid
Paths on a GridTime Limit: 1000MS Memory Limit: 30000KTotal Submissions: 19808 Accepted: 4800DescriptionImagine you are attending your math lesson at school. Once原创 2013-08-31 08:38:46 · 693 阅读 · 0 评论 -
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 li原创 2013-09-01 20:22:14 · 690 阅读 · 0 评论 -
Remoteland
RemotelandProblem DescriptionIn the Republic of Remoteland, the people celebrate their independence day every year. However, as it was a long long time ago, nobody can remember when it was转载 2013-09-01 18:12:10 · 880 阅读 · 2 评论 -
Codeforce #145A Cinema
A. Cinematime limit per test1 secondmemory limit per test256 megabytesinputinput.txtoutputoutput.txtOverall there are m actors in Berland. Each actor has a pers原创 2013-09-12 20:42:07 · 926 阅读 · 0 评论