Anonymous user
Total circles area: Difference between revisions
m
→optimized: changed a comment.
m (→optimized: changed some whitespace and comments, optimized the code for finding completely overlapping circles.) |
m (→optimized: changed a comment.) |
||
Line 2,624:
@y.j-@r.j < @y.k-@r.k | @x.j+@r.j > @x.k+@r.k then iterate
if verbose then say 'Circle ' right(j,w) ' is contained in circle ' right(k,w)
@r.j= 0; #in= #in + 1 /*elide this circle; and bump #
end /*k*/
end /*j*/ /* [↑] elided overlapping circle.*/
|