- 博客(1)
- 收藏
- 关注
原创 The 2021 Shanghai Collegiate Programming Contest 补题
A. 小 A 的点面论 考的是一个小数学知识, 向量的叉乘,即求同时垂直两个向量的向量,即c垂直于a,同时c垂直于b(a与c的夹角为90°,b与c的夹角为90°) c = a×b = (a.y*b.z-b.y*a.z , b.x*a.z-a.x*b.z , a.x*b.y-b.x*a.y) #include <cstdio> #include <iostream> #include <algorithm> using namespace std; const i
2022-03-29 21:09:16
301
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人