随笔分类 -  。。。数论~~数学

摘要:Sequence [组合数学] 时间限制: 3 Sec 内存限制: 128 MB 提交: 138 解决: 52 [提交][状态][讨论版] 题目描述 在某个夜黑月高的晚上,!!!,原谅我编不下去了。 HS(Handsome)的Ocean在纸上写下$N$个整数,Ocean把它定义为$O$序列。 Oce 阅读全文
posted @ 2016-12-07 11:09 handsomecui 阅读(1027) 评论(0) 推荐(0) 编辑
摘要:约瑟夫环问题:一圈共有N个人,开始报数,报到M的人自杀,然后重新开始报数,问最后自杀的人是谁? 如图:内环表示人排列的环,外环表示自杀顺序;上面N=41,M=3。 一.很容易想的是:建立一个动态数组,把1-n的编号放里面,每死一个人移除一个人,在记录下当前位置,递归到数组长度为1,就是活着的那个人了 阅读全文
posted @ 2016-11-11 09:38 handsomecui 阅读(1473) 评论(0) 推荐(0) 编辑
摘要:Monkey Tradition Time Limit: 2000MS Memory Limit: 32768KB 64bit IO Format: %lld & %llu Submit Status Description In 'MonkeyLand', there is a tradition 阅读全文
posted @ 2016-05-21 22:37 handsomecui 阅读(280) 评论(0) 推荐(0) 编辑
摘要:Biorhythms Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 127339 Accepted: 40342 Description Some people believe that there are three cycl 阅读全文
posted @ 2016-05-21 21:36 handsomecui 阅读(325) 评论(0) 推荐(0) 编辑
摘要:求高精度幂 时间限制:3000 ms | 内存限制:65535 KB 难度:2 求高精度幂 时间限制:3000 ms | 内存限制:65535 KB 难度:2 对数值很大、精度很高的数进行高精度计算是一类十分常见的问题。比如,对国债进行计算就是属于这类问题。 现在要你解决的问题是:对一个实数R( 0 阅读全文
posted @ 2016-04-30 22:38 handsomecui 阅读(1028) 评论(0) 推荐(0) 编辑
摘要:Kyoya and Colored Balls time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Kyoya and Colore 阅读全文
posted @ 2016-04-21 21:04 handsomecui 阅读(526) 评论(0) 推荐(0) 编辑
摘要:Segment Time Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64u Submit Status Practice HDU 5666 Segment Submit Status Practice HDU 5666 P 阅读全文
posted @ 2016-04-20 19:17 handsomecui 阅读(1230) 评论(0) 推荐(0) 编辑
摘要:Description 作为体育委员,C君负责这次运动会仪仗队的训练。仪仗队是由学生组成的N * N的方阵,为了保证队伍在行进中整齐划一,C君会跟在仪仗队的左后方,根据其视线所及的学生人数来判断队伍是否整齐(如下图)。 现在,C君希望你告诉他队伍整齐时能看到的学生人数。 Input 共一个数N。 O 阅读全文
posted @ 2016-03-16 11:22 handsomecui 阅读(406) 评论(0) 推荐(0) 编辑
摘要:Ignatius and the Princess II Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 6359 Accepted Submi 阅读全文
posted @ 2016-03-05 12:56 handsomecui 阅读(392) 评论(0) 推荐(0) 编辑
摘要:Examining the Rooms Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 1305 Accepted Submission(s): 阅读全文
posted @ 2016-02-29 20:39 handsomecui 阅读(598) 评论(0) 推荐(0) 编辑
摘要:Train Problem II Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 7539 Accepted Submission(s): 40 阅读全文
posted @ 2016-02-29 19:51 handsomecui 阅读(368) 评论(0) 推荐(0) 编辑
摘要:BackgroundFor years, computer scientists have been trying to find efficient solutions to different computing problems. For some of them efficient algo 阅读全文
posted @ 2016-01-13 10:05 handsomecui 阅读(378) 评论(0) 推荐(0) 编辑
摘要:Fibonacci Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 4221 Accepted Submission(s): 1954 Prob 阅读全文
posted @ 2016-01-11 16:31 handsomecui 阅读(545) 评论(0) 推荐(0) 编辑
摘要:小数化分数2Time Limit: 1000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 4069Accepted Submission(s): 1658 Problem De... 阅读全文
posted @ 2016-01-11 15:12 handsomecui 阅读(1529) 评论(0) 推荐(1) 编辑
摘要:10402: C.机器人Time Limit:2 SecMemory Limit:128 MB Submit:53Solved:19 [Submit][Status][Web Board]DescriptionDr. Kong设计的机器人卡尔非常活泼,既能原地蹦,又能跳远。由于受软硬件设计所限,机器... 阅读全文
posted @ 2016-01-03 15:22 handsomecui 阅读(277) 评论(0) 推荐(0) 编辑
摘要:geometryAccepts: 324Submissions: 622Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/65536 K (Java/Others)Problem DescriptionThere is a point... 阅读全文
posted @ 2016-01-02 21:06 handsomecui 阅读(407) 评论(0) 推荐(0) 编辑
摘要:不可摸数Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 10585Accepted Submission(s): 2734 Problem Des... 阅读全文
posted @ 2015-12-18 09:52 handsomecui 阅读(636) 评论(0) 推荐(0) 编辑
摘要:GTW likes mathAccepts: 472Submissions: 2140Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 131072/131072 K (Java/Others)Problem DescriptionAfter a... 阅读全文
posted @ 2015-12-12 21:47 handsomecui 阅读(253) 评论(0) 推荐(0) 编辑
摘要:小明系列故事——未知剩余系Time Limit: 500/200 MS (Java/Others)Memory Limit: 65535/32768 K (Java/Others) Total Submission(s): 1281Accepted Submission(s): 319 Proble... 阅读全文
posted @ 2015-12-03 22:24 handsomecui 阅读(318) 评论(0) 推荐(0) 编辑
摘要:反素数Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 5194Accepted Submission(s): 3043 Problem Descr... 阅读全文
posted @ 2015-12-03 21:17 handsomecui 阅读(345) 评论(0) 推荐(0) 编辑