习题链接:LeetCode 739. 每日温度
When another data point is inserted and the Voronoi diagram reconstructed, the newly created region displaces the area that once belonged to the old regions. Those points whose regions were displaced are considered natural neighbours to the new point. The weight of each natural neighbour is given by the area taken from the total area occupied by the new region. In 3D, we measure polyhedral volumes instead of areas.
,详情可参考safew官方版本下载
Что думаешь? Оцени!
Copyright © 1997-2026 by www.people.com.cn all rights reserved