I take the difference in the x-values, squared, the difference in the y-values, squared, add them up, take the square root of that.
好,是毕达哥拉斯定力对不对?,求x坐标的差,然后平方,求y坐标的差,然后平方,把它们加起来,开平方。
麻省理工公开课 - 计算机科学及编程导论课程节选
应用推荐
模块上移
模块下移
不移动