The correct option is A f is zero function .
Let A be an arbitrary point. Consider a regular n-gon AA1A2...An−1.Let k be an integer 0≤k≤n−1..A rotation with center A of angle 2kπn sends the polygon AA1A2...An−1 to Ak0Ak1...Ak,n−1, where Ak0=A and Aki is the image of Aki or all i=1,2,...,n−1. From the condition of the statement, we have n−1∑k=0n−1∑i=0f(Aki)=0. Observe that in the sum the number f(A) appears n times, therefore nf(A)+n−1∑k=0n−1∑i=0f(Aki)=0.On the other hand, we have n−1∑k=0n−1∑i=0f(Aki)=n−1∑i=0n−1∑k=0f(Aki)=0, since the polygons A0iA1i...An−1,i are all regular n-gons. From the two equalities above we deduce f(A)=0, hence f is the zero function.