Loading

摘要: \(Author: zhl\) \(LastUpdate: 2020-10-14\) 0.其他 // ..,,***///////*,.. // ./#((((((((((((((((((((((//,. // ,/((%&###(((((((((((((((((((((((((/,. // .*( 阅读全文
posted @ 2020-09-11 14:10 —O0oO- 阅读(272) 评论(0) 推荐(0) 编辑
摘要: Floyd 纯暴力,三个 for 循环 复杂度: \(O(V^3)\) for(int k = 1;k <= n;k++){ for(int i = 1;i <= n;i++){ for(int j = 1;j <= n;j++){ if(dis[i][k] + dis[k][j] < dis[i] 阅读全文
posted @ 2020-09-11 14:07 —O0oO- 阅读(117) 评论(0) 推荐(0) 编辑
摘要: 线段树 之前对线段树不是很明白 今天自己重新手写了一份线段树 #include<bits/stdc++.h> #define int long long using namespace std; const int maxn = 1e6 + 10; struct Node { int l, r, s 阅读全文
posted @ 2020-09-11 10:40 —O0oO- 阅读(192) 评论(0) 推荐(0) 编辑