摘要: 7-23洛谷做题记录 P1359 租用游艇 DP求或最短路 #include <bits/stdc++.h> using namespace std; int f[210],i,j,k,n; int main() { cin >> n; for(int i = 1 ; i <= n ; i ++ ) 阅读全文
posted @ 2022-07-23 17:40 Erfu 阅读(98) 评论(0) 推荐(0)
摘要: 左偏树学习笔记 #include<bits/stdc++.h> using namespace std; const int N = 1e5 + 10; int fa[N],ls[N],rs[N],dist[N],val[N],id[N]; bool del[N]; int n,m,cnt; int 阅读全文
posted @ 2022-07-23 16:47 Erfu 阅读(30) 评论(0) 推荐(0)