08 2022 档案
[模板] 计算几何 -- Garham凸包算法
摘要:1 #include <bits/stdc++.h> 2 3 #define debug(x) std::cerr << "[" << __LINE__ << "]: " << #x << " = " << x << "\n" 4 5 using i64 = long long; 6 7 #defi
阅读全文
P2014 [CTSC1997] 选课 -树形dp
摘要:#include <bits/stdc++.h> #define debug(x) std::cerr << "[" << __LINE__ << "]: " << #x << " = " << x << "\n" using i64 = long long; const int N = 300 +
阅读全文
数码个数 -数位dp
摘要:#include <bits/stdc++.h> #define debug(x) std::cerr << "Line: " << __LINE__ << ", " << #x << " = " << x << "\n" using i64 = long long; constexpr int N
阅读全文