Edit MetaData
9 years, 4 months ago
9 years, 4 months ago
Hi Nipun,
The solution makes use of Pick's theorem, according to which:
A = I + P/2 - 1, where A is the area of the polygon, I is the number of interior integral points and P is the number of integral points on the boundary of the polygon. Remember that the formula can be used only for polygons.
Join cracku.in for Expert Guidance.