摘要: void write(__int128 a) { if(a<0) { cout<<'-'; a=-a; } if(a>9) write(a/10); cout<<(int)(a%10); } __int128 read() { __int128 temp=0; string a; getline(c 阅读全文
posted @ 2021-08-25 22:54 旅玖旅玖 阅读(73) 评论(0) 推荐(0) 编辑
摘要: #include<bits/stdc++.h> #include<iostream> using namespace std; typedef long long ll; const double pi = acos(-1.0); const double inf = 1e100; const do 阅读全文
posted @ 2021-08-25 14:02 旅玖旅玖 阅读(30) 评论(0) 推荐(0) 编辑
摘要: 5.1.1 三角形面积 利用两条边叉积除以二取绝对值 海伦公式 S=p(p−a)(p−b)(p−c)−−−−−−−−−−−−−−−−−√,p=(a+b+c)2S=p(p−a)(p−b)(p−c),p=(a+b+c)2 S=absinC2S=absinC2 5.1.2 三角形四心 5.1.2.1 外心 阅读全文
posted @ 2021-08-25 13:39 旅玖旅玖 阅读(96) 评论(0) 推荐(0) 编辑