摘要: 设椭圆的两个焦点 \(F_1,F_2\),椭圆上一点 \(P\) 满足 \(F_1P\) 与 \(F_2P\) 垂直,当且仅当 \(P\) 在以 \(F_1F_2\) 为直径的圆上,因此,当该圆与椭圆无交点时,不存在这样的点 \(P\) 设焦距 \(c\),\(P(x,y)\),上述三角形 \(PF 阅读全文
posted @ 2024-09-23 21:03 HaneDaniko 阅读(44) 评论(2) 推荐(2)
摘要: 来个有缘人 #include<bits/stdc++.h> using namespace std; #define int __int128 void _print(__int128 x,bool first=true){ if(x<0){ putchar('-'); _print(-x,fals 阅读全文
posted @ 2024-09-23 20:37 HaneDaniko 阅读(41) 评论(0) 推荐(2)
摘要: 不是,是 阅读全文
posted @ 2024-09-23 19:08 HaneDaniko 阅读(81) 评论(8) 推荐(13)
摘要: int sqr_vector_dis(node a){ return a.x*a.x+a.y*a.y; } frac vector_multi(node a,node b){ return frac(a.x*b.x+a.y*b.y,1); } frac dist(node a,node b,node 阅读全文
posted @ 2024-09-23 18:19 HaneDaniko 阅读(39) 评论(1) 推荐(2)
摘要: #include<bits/stdc++.h> using namespace std; class frac{ private: int z,m; public: frac(int x=0,int y=1){ z=x,m=y; fixed(); } frac fixed(){ int gcd=__ 阅读全文
posted @ 2024-09-23 17:17 HaneDaniko 阅读(23) 评论(0) 推荐(1)