10183

 

10088

[highlight]Theory[/highlight] Picks formulae ::: ans=area of polygon-B/2+1; Given a polygon whose vertices are of integer coordinates (lattice points), count the number of lattice points within that polygon.Pick’s theoreom states that where;  is the area of the polygon.  is the number of lattice points on the exterior Area of a polygon: First, number the vertices in