- 博客(10)
- 收藏
- 关注
转载 孪生素数问题
孪生素数问题时间限制:3000 ms | 内存限制:65535 KB难度:3描述写一个程序,找出给出素数范围内的所有孪生素数的组数。一般来说,孪生素数就是指两个素数距离为2,近的不能再近的相邻素数。有些童鞋一看到题就开始写程序,不仔细看题,咱们为了遏制一下读题不认真仔细的童鞋,规定,两个素数相邻为1的也成为孪生素数。输入第一行给出N(0接下来组测
2013-09-26 20:38:16 559
转载 N!
N!Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 34337 Accepted Submission(s): 9604Problem DescriptionGiven an integer
2013-09-25 20:35:45 500
转载 大数阶乘
大数阶乘时间限制:3000 ms | 内存限制:65535 KB难度:3描述我们都知道如何计算一个数的阶乘,可是,如果这个数很大呢,我们该如何去计算它并输出它?输入输入一个整数m(0输出输出m的阶乘,并在输出结束之后输入一个换行符样例输入50样例输出304140932017133780436126081660647688443
2013-09-25 20:35:15 512
原创 Floor problem
Problem C Floor problem Problem DescriptionIn this problem, we have f(n,x)=Floor[n/x]. Here Floor[x] is the biggest integer such that no larger than x. For example, Floor[1.1]=Floor[1.9]=1, Floor[
2013-09-24 16:12:32 496
原创 Solve equation
Problem A Solve equation Problem DescriptionYou are given two positive integers A and B in Base C. For the equation:A=k*B+dWe know there always existing many non-negative pairs (k, d) that sat
2013-09-24 16:11:34 648
原创 Ignatius and the Princess IV
Ignatius and the Princess IVTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32767 K (Java/Others)Total Submission(s): 13302 Accepted Submission(s): 5368Problem Description
2013-09-22 21:27:14 627
转载 The sum problem
The sum problemTime Limit: 5000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 8287 Accepted Submission(s): 2530Problem DescriptionGiven a se
2013-09-22 20:19:37 495
原创 杨辉三角
杨辉三角Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 27349 Accepted Submission(s): 11477Problem Description还记得中学时候学过的杨辉三角吗?具体的
2013-09-10 08:34:59 662
原创 HDOJ 1219 AC ME
AC MeTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 9785 Accepted Submission(s): 4367Problem DescriptionIgnatius is doing hi
2013-09-03 19:44:33 637
原创 HDOJ 1205 吃糖果
吃糖果Time Limit: 6000/3000 MS (Java/Others) Memory Limit: 65535/32768 K (Java/Others)Total Submission(s): 18093 Accepted Submission(s): 5219Problem DescriptionHOHO,终于从Speakless手上赢走
2013-09-02 20:32:42 568
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人