题目 分析 这个问题比较简单,只要算出这个多边形的周长再算出一个钉子的周长即可。 源代码 #include<cstdio> #include<iostream> #include<cmath> using namespace std;