I keep getting WA... Is it possible for an admin to post some test cases? I'm losing my mind here :(
My idea:
I move the polygon sides 'd' centimeters through the inside, and then compute the intersections, being these the new vertices. Then, sum all sub-triangle's areas.
[cpp]
#include <iostream ...