Learning and verification of Pike's theorem.
Pick's theorem refers to a formula for calculating the polygon area of vertices in a lattice, which can be expressed as S=a+b ÷ 2-1, where a represents the number of points inside the polygon, b represents the number of points the polygon falls on the boundary of the lattice, and S represents the area of the polygon.