python是坠吼的! 原题: 不贴原题,就是高精度开根,结果向下取整 首先二分答案,高精度嘛……python即可 二分右端点设为n会T掉,需要先倍增一个r,while(r **m <= n) r *= 2 然后T掉了,代码如下,亮点自寻 m, n = input(), input() l, r = , n while r ** m < n: r *= < r): md = (l + r) >> if(md ** m <= n): l = md else: r = m…
Background\text{Background}Background I've accepted\text{I've accepted}I've accepteda very good problem \text{ a very good problem } a very good problemabout High-Precisions and become\text{about High-Precisions and become}about High-Precisions and b…
在焦作站的acm网络赛中遇到了一个高精度开根的水题--但是那时候WA了 后面学写java补题还T了orz 所以写一篇文章来记录一下java的大整数类型的基础和开根还有一点心得体会吧 首先给那一题的题面和模板 Jessie and Justin want to participate in e-sports. E-sports contain many games, but they don't know which one to choose, so they use a way to make…