题解 | #牛牛的线段#

牛牛的线段

https://www.nowcoder.com/practice/f72c56ed71664af082c921bf79861c85

x1,y1 = map(int,input().split())
x2,y2 = map(int,input().split())

result = (x1-x2)**2 + (y1-y2)**2

print(result)

全部评论

相关推荐

07-24 19:01
门头沟学院 Java
后天笔试,又要开始做题了
Sairus:明天10:00笔试
投递京东等公司10个岗位
点赞 评论 收藏
分享
评论
1
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务