上一页 1 ··· 21 22 23 24 25 26 27 28 29 ··· 33 下一页
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=2523学习哈希和注意i++,后要--i; SORT AGAINTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 3479Accepted Submission(s): 1107 Problem Description给你N个整数,x1,x2...xn,任取两个整数组合得到|xi-xj|,(0#include#includeusing namespace std 阅读全文
posted @ 2013-11-25 19:33 疯狂的癫子 阅读(242) 评论(0) 推荐(0) 编辑
摘要: 学习二分查找+排序。一定用c++程序 sort用法;http://acm.hdu.edu.cn/showproblem.php?pid=2141 Can you find it?Time Limit: 10000/3000 MS (Java/Others)Memory Limit: 32768/10000 K (Java/Others) Total Submission(s): 8557Accepted Submission(s): 2230 Problem DescriptionGive you three sequences of numbers A, B, C, then we give 阅读全文
posted @ 2013-11-24 21:39 疯狂的癫子 阅读(131) 评论(0) 推荐(0) 编辑
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=2199学习方程求解用二分法。注意1e-6而不是0; Can you solve this equation?Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 6172Accepted Submission(s): 2886 Problem DescriptionNow,given the equation 8*x^4 + 7*x^3 + 2*x^2 + 3*x 阅读全文
posted @ 2013-11-24 20:00 疯狂的癫子 阅读(147) 评论(0) 推荐(0) 编辑
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=2817学习 ://(a × b) mod c=( (a mod c) × b) mod c. (a+b)mod c=(a mod c+b mod c)mod c;在题目中我们总会遇到 a^b mod n 所以我们必须用 快速幂取模算法,下面就是快速快速幂取模算法,这些强制类型转换应该要多学习学习。题意是等比数列或者等差数列,求第k个数。求余200907。 A sequence of numbersTime Limit: 2000/1000 MS (Java/Others) Memory L 阅读全文
posted @ 2013-11-20 20:56 疯狂的癫子 阅读(161) 评论(0) 推荐(0) 编辑
摘要: http://acm.hdu.edu.cn/status.php Alfredo's Pizza RestaurantTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 1732 Accepted Submission(s): 1023 Problem DescriptionTraditionally after the Local Contest, judges and contestants go to their favourit 阅读全文
posted @ 2013-11-20 09:22 疯狂的癫子 阅读(221) 评论(0) 推荐(0) 编辑
摘要: Problem HTime Limit : 4000/2000ms (Java/Other) Memory Limit : 65536/32768K (Java/Other)Total Submission(s) : 24 Accepted Submission(s) : 8Problem DescriptionA positive number y is called magic number if for every positive integer x it satisfies that put y to the right of x, which will form a new in. 阅读全文
posted @ 2013-11-19 20:52 疯狂的癫子 阅读(327) 评论(0) 推荐(0) 编辑
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=1019Least Common MultipleTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 25035 Accepted Submission(s): 9429 Problem DescriptionThe least common multiple (LCM) of a set of positive integers is the smallest 阅读全文
posted @ 2013-11-19 15:24 疯狂的癫子 阅读(218) 评论(0) 推荐(0) 编辑
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=2066一个人的旅行Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 15272 Accepted Submission(s): 5186 Problem Description虽然草儿是个路痴(就是在杭电待了一年多,居然还会在校园里迷路的人,汗~),但是草儿仍然很喜欢旅行,因为在旅途中 会遇见很多人(白马王子,^0^),很多事,还能丰富自己的阅历,还可以看美 阅读全文
posted @ 2013-11-19 15:12 疯狂的癫子 阅读(174) 评论(0) 推荐(0) 编辑
摘要: Just a HookTime Limit: 4000/2000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 13918 Accepted Submission(s): 6886 Problem DescriptionIn the game of DotA, Pudge’s meat hook is actually the most horrible thing for most of the heroes. The hook is made up of several co. 阅读全文
posted @ 2013-11-15 20:29 疯狂的癫子 阅读(210) 评论(0) 推荐(0) 编辑
摘要: Who Gets the Most Candies?Time Limit : 10000/5000ms (Java/Other) Memory Limit : 262144/131072K (Java/Other)Total Submission(s) : 15 Accepted Submission(s) : 7Problem DescriptionN children are sitting in a circle to play a game.The children are numbered from 1 to N in clockwise order. Each of them h. 阅读全文
posted @ 2013-11-14 19:55 疯狂的癫子 阅读(310) 评论(0) 推荐(0) 编辑
上一页 1 ··· 21 22 23 24 25 26 27 28 29 ··· 33 下一页