ACM计算几何
「已注销」
这个作者很懒,什么都没留下…
展开
-
Big Number HDU - 1018
https://vjudge.net/problem/HDU-1018#author=0 利用斯特灵数公式计算,复杂度o(1) 直接利用n的位数等于log10(n)+1,复杂度0(n) #include<iostream> #include<cmath> #include<cstdio> #include<algorithm> #prag...原创 2018-09-03 09:29:28 · 97 阅读 · 0 评论 -
Lifting the Stone HDU - 1115
https://vjudge.net/problem/HDU-1115 参考博客https://www.cnblogs.com/jbelial/archive/2011/08/08/2131165.html 可作为计算多边形重心模板 复杂度 o(n) #include<stdio.h> #include<math.h> #include<stdlib....原创 2018-09-03 10:33:38 · 112 阅读 · 0 评论