Cody

Problem 44369. Circle/Pentagon Overlap

Created by goc3 in Community

Your function will be provided with the five vertices of a pentagon (p) as well as the center point (cp) and radius (r) of a circle. The function should return the number of pentagon vertices that lie within or on the circle. The tolerance for lying on the circle is 0.02.

Solution Stats

46.82% Correct | 53.18% Incorrect
Last solution submitted on May 31, 2019