专业打假赛
VP情况略,不会的题单独补了
D.Deja vu of … Go Players 题目分析签到题,直接判断 n , m n,m n,m大小关系即可。
Code#include
#define int long long
#define endl '\n'
using namespace std;
const int N = 2e5 + 10;
int a[N];
inline void solve(){
int n, m; cin >> n >> m;
for(int i = 1, x = 0; i > x;
for(int j = 1, x = 0; j > x;
if(n > m) cout o.x >> o.y >> o.z;
double r = 0; cin >> r;
point st, ed;
cin >> st.x >> st.y >> st.z >> ed.x >> ed.y >> ed.z;
point dec1 = dec(o, st), dec2 = dec(ed, st), dec3 = dec(o, ed), dec4 = dec(st, ed);
double res0 = (st.x - ed.x) * (st.x - ed.x) + (st.y - ed.y) * (st.y - ed.y) + (st.z - ed.z) * (st.z - ed.z);
double res1 = dec1.x * dec2.x + dec1.y * dec2.y + dec1.z * dec2.z;
double res2 = dec3.x * dec4.x + dec3.y * dec4.y + dec3.z * dec4.z;
double dis = sqrt(dec4.square());
if (res0
关注
打赏
热门博文
- 回坑记之或许是退役赛季?
- [LCT刷题] P1501 [国家集训队]Tree II
- [LCT刷题] P2147 洞穴勘测
- 2022-2023 ICPC Brazil Subregional Programming Contest VP记录
- [线段树套单调栈] 2019-2020 ICPC Asia Hong Kong Regional Contest H.[Hold the Line]
- The 2021 ICPC Asia Nanjing Regional Contest E.Paimon Segment Tree 区间合并线段树/维护矩阵乘法
- CF580E - Kefa and Watch 线段树维护哈希
- HDU5869 Different GCD Subarray Query 离线查询/区间贡献
- 27.CF1004F Sonya and Bitwise OR 区间合并线段树
- 26.CF1000F One Occurrence