
暴力枚举
pupil_blue
这个作者很懒,什么都没留下…
展开
-
POJ-----1971Parallelogram Counting数学题
Parallelogram CountingTime Limit: 5000MS Memory Limit: 65536KTotal Submissions: 6255 Accepted: 2153DescriptionThere are n distinct points in the plane, given by t原创 2016-08-15 17:01:55 · 287 阅读 · 0 评论 -
POJ-----2104---K-th Number---暴力
K-th NumberTime Limit: 20000MS Memory Limit: 65536KTotal Submissions: 53875 Accepted: 18527Case Time Limit: 2000MSDescriptionYou are working for Macrohard c原创 2017-03-12 15:13:52 · 201 阅读 · 0 评论 -
HDOJ-----5311---Hidden String---暴力
Hidden StringTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others)Total Submission(s): 1961 Accepted Submission(s): 731Problem DescriptionToday is the 1s原创 2017-03-12 13:33:19 · 239 阅读 · 0 评论 -
POJ-----1088---滑雪DP
滑雪Time Limit: 1000MS Memory Limit: 65536KTotal Submissions: 93921 Accepted: 35555DescriptionMichael喜欢滑雪百这并不奇怪, 因为滑雪的确很刺激。可是为了获得速度,滑的区域必须向下倾斜,而且当你滑到坡底,你不得不再次走上坡或者等原创 2016-12-23 22:17:06 · 256 阅读 · 0 评论 -
POJ-----1142---Smith Numbers
Smith NumbersTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 13659 Accepted: 4649DescriptionWhile skimming his phone directory in 1982, Albert Wilansky,原创 2016-11-27 10:48:28 · 334 阅读 · 0 评论 -
HDOJ-----5339---Untitled暴力枚举+剪枝
There is an integer a and n integers b1,…,bn. After selecting some numbers from b1,…,bn in any order, say c1,…,cr, we want to make sure that a mod c1 mod c2 mod… mod cr=0 (i.e., a will b原创 2016-11-26 17:04:43 · 235 阅读 · 0 评论 -
HDOJ-----1058---Humble Numbers(DP)
A number whose only prime factors are 2,3,5 or 7 is called a humble number. The sequence 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 14, 15, 16, 18, 20, 21, 24, 25, 27, ... shows the first 20 humble numbers.原创 2016-11-13 01:46:06 · 299 阅读 · 0 评论 -
HDU-----1215---七夕节
七夕节那天,月老来到数字王国,他在城门上贴了一张告示,并且和数字王国的人们说:"你们想知道你们的另一半是谁吗?那就按照告示上的方法去找吧!"人们纷纷来到告示前,都想知道谁才是自己的另一半.告示如下:数字N的因子就是所有比N小又能被N整除的所有正整数,如12的因子有1,2,3,4,6.你想知道你的另一半吗?本来是暴力打表,结果超时,居然可以直接暴力过,原创 2016-11-12 18:27:09 · 305 阅读 · 0 评论 -
HDOJ-----1005---Number Sequence暴力枚举
Number SequenceTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 158460 Accepted Submission(s): 38811Problem DescriptionA number se原创 2016-11-12 13:58:15 · 243 阅读 · 0 评论 -
Codeforces-----233B---Non-square Equation暴力枚举
Non-square Equationtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputLet's consider equation:x2 + s(x)·x - n = 0, whe原创 2016-11-12 02:17:21 · 252 阅读 · 0 评论 -
POJ-----3279暴力枚举
FliptileTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 7394 Accepted: 2787DescriptionFarmer John knows that an intellectually satisfied cow is a happ原创 2016-07-29 20:07:16 · 845 阅读 · 0 评论 -
POJ-----2965---The Pilots Brothers' refrigerator---枚举规律
The Pilots Brothers' refrigeratorTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 25859 Accepted: 9979 Special JudgeDescriptionThe game “The Pilots原创 2017-03-15 15:24:32 · 324 阅读 · 0 评论