![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
暴力
mirror58229
C++ Java Python+ACM算法learning
展开
-
HDU 5512 Pagodas(分析)
PagodasTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 1105 Accepted Submission(s): 780Problem Descriptionn pagodas were st原创 2016-10-05 17:15:07 · 307 阅读 · 0 评论 -
HDU 6140 Hybrid Crystals(思考+上下界)
大坑原创 2017-08-17 21:42:44 · 248 阅读 · 0 评论 -
HDU 程序设计竞赛题解(2016‘12)
补题原创 2016-12-25 21:45:32 · 331 阅读 · 0 评论 -
Tips on 浮点数精度
1、误差量epseps缩写自epsilon,表示一个小量,但这个小量又要确保远大于浮点运算结果的不确定量。eps最常见的取值是1e-8左右。引入eps后,我们判断两浮点数a、b相等的方式如下:定义三出口函数如下: int sgn(double a) {return a < -eps ? -1 : a < eps ? 0 : 1;}则各种判断大小的运算都应做如下修正: 传统意义 修正写法原创 2016-10-24 19:03:55 · 466 阅读 · 0 评论 -
HDU 5858 Hard problem (公式推导)
WAWAWA~原创 2016-11-22 20:47:57 · 405 阅读 · 0 评论 -
HDU 5980 Find Small A(二进制运算)
对二进制不够熟悉~原创 2016-11-18 18:10:39 · 512 阅读 · 0 评论 -
ZSTUOJ 2016ACM新生选拔赛 (更新中)
接下来两周不写新题~认真复习补题解原创 2016-11-21 00:53:14 · 1689 阅读 · 0 评论 -
ZSTUOJ 4122 No_stop玩硬币
WA到死。。坑原创 2016-11-19 01:15:51 · 470 阅读 · 0 评论 -
HDU 5935 Car(模拟+精度)
为什么要-eps呢~原创 2016-10-29 21:27:31 · 407 阅读 · 0 评论 -
HDU 5933 ArcSoft's Office Rearrangement(模拟)
HDU 5933原创 2016-11-01 21:46:08 · 387 阅读 · 0 评论 -
Codeforces Round #375 (Div. 2) B.Text Document Analysis(分类暴力)
B. Text Document Analysistime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputModern text editors usually show s原创 2016-10-04 16:58:20 · 492 阅读 · 0 评论 -
HDU 2289 Cup(二分+圆台体积)
Problem Description The WHU ACM Team has a big cup, with which every member drinks water. Now, we know the volume of the water in the cup, can you tell us it height? The radius of the cup’s top and bo原创 2016-10-20 01:37:14 · 415 阅读 · 0 评论 -
HDU 5500+HDU 1097 (找规律)
队内选拔赛两道水题……然而一直卡在第一题的规律唉……HDU 5500:题意:你可以从数列中任一个位置取一个数字放到数列首部,问到达顺序为1~n所需要的最小操作数其实就是将两个连续数字间的其他数字移走,不用去在意移走后数字的先后顺序,因为在相同的操作数内总有办法使之达到我们所需要的数列;因为最大的数总是在最后,因此我们从后往前找连续的数位,剩下的就是需要移动的数字; 如:2 1 4 3 5 从后往前原创 2016-10-25 18:56:52 · 401 阅读 · 0 评论 -
HDU 1701 ACMer(浮点数精度)
ACMerTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 4754 Accepted Submission(s): 2229Problem DescriptionThere are at least P原创 2016-10-10 20:03:05 · 516 阅读 · 0 评论 -
HDU 4007 Dave(双扫描线+技巧暴力)
DaveTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65768/65768 K (Java/Others)Total Submission(s): 3645 Accepted Submission(s): 1231Problem DescriptionRecently, Dave is bor原创 2016-10-02 16:00:27 · 504 阅读 · 0 评论 -
HDU 5538 House Building(分类暴力)
House BuildingTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others)Total Submission(s): 1215 Accepted Submission(s): 762Problem DescriptionHave you e原创 2016-10-04 17:06:12 · 365 阅读 · 0 评论 -
HDU 5914 Triangle(斐波那契数列+构造)
TriangleTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 52 Accepted Submission(s): 42Problem DescriptionMr. Frog has n sticks原创 2016-10-05 01:19:28 · 591 阅读 · 0 评论 -
HDU 5916 Harmonic Value Description(规律+构造)
Harmonic Value DescriptionTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 54 Accepted Submission(s): 33Special JudgeProblem Descr原创 2016-10-05 01:31:28 · 706 阅读 · 0 评论 -
2018ACM浙江省赛 ZOJ 4029 Now Loading!!!(二分+前缀和)
原创 2018-05-08 22:09:19 · 652 阅读 · 0 评论