- 博客(2)
- 资源 (1)
- 收藏
- 关注
原创 【vijos P1010】清帝之惑之乾隆 c++题解
题目描述 Problems involving the computation of exact values of very large magnitude and precision are common. For example, the computation of the national debt is a taxing experience for many computer
2015-08-18 19:00:25 555
原创 【Vijos P1007】绕钉子的长绳子 c++题解
背景平面上有N个圆柱形的大钉子,半径都为R,所有钉子组成一个凸多边形。现在你要用一条绳子把这些钉子围起来,绳子直径忽略不计。描述求出绳子的长度格式输入格式第1行两个数:整数N(1坐标的绝对值不超过100。输出格式一个数,绳子的长度,精确到小数点后2位。以逆时针顺序将N个钉子编号为1~Ndist(i,j)=i号钉子和j号钉子的直线距离则Ans=dist(1,2)+dist(2,3)+........
2015-08-18 11:53:20 942
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人