随笔分类 -  计算几何

摘要:题意:给你三个点A(x,y),B(x,y),C(x,y),求∠ABC的度数,输出保留两位小数。 解法:余弦定理求出cos∠ABC的大小,根据PI=180°进行转换。 1 #include <stdio.h> 2 #include <math.h> 3 using namespace std; 4 f 阅读全文
posted @ 2020-02-19 17:30 留幸愉 阅读(321) 评论(0) 推荐(0)