数学
mirror58229
C++ Java Python+ACM算法learning
展开
-
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 · 407 阅读 · 0 评论 -
HDU 2899 Strange fuction(二分查找根)
二分查根来一波~虽然次数有点高~但好在还是正的原创 2016-10-26 16:26:40 · 318 阅读 · 0 评论 -
ZSTUOJ 2016ACM新生选拔赛 (更新中)
接下来两周不写新题~认真复习补题解原创 2016-11-21 00:53:14 · 1684 阅读 · 0 评论 -
HDU 5858 Hard problem (公式推导)
WAWAWA~原创 2016-11-22 20:47:57 · 396 阅读 · 0 评论 -
HDU 程序设计竞赛题解(2016‘12)
补题原创 2016-12-25 21:45:32 · 311 阅读 · 0 评论 -
HDU 5974 A Simple Math Problem(转化解方程)
题意:x+y=a lcm(x,y)=b 求x,y12WCases + b 10^9 + a 10^4所以肯定不是枚举……肯定是公式题接下来就是转化x+y=ax*y/gcd(x,y)=b令gcd(x,y)=cx=i*c,y=j*ci*c+j*c=ac*i*j=bc*(i+j)=ac*i*j=b因为i j互原创 2017-03-19 17:04:13 · 499 阅读 · 0 评论 -
codeforce 803C Maximal GCD(构造)
坑坑坑坑原创 2017-05-04 19:29:43 · 448 阅读 · 0 评论 -
ECNU Problem #3247 铁路修复计划(MST + 二分)
MST和二分之间不得不说的事~原创 2017-05-15 19:44:31 · 315 阅读 · 0 评论 -
HDU 6143 Killer Names(组合数+第二类Stirling数)
不一样的做法啦~看不懂题解的弱鸡原创 2017-08-17 21:09:29 · 394 阅读 · 0 评论