随笔分类 -  图论-SPFA

摘要:1 #include<bits/stdc++.h> 2 #define ll long long 3 using namespace std; 4 const ll db[11][11]={ 5 {0}, 6 {0,0}, 7 {0,-1,1}, 8 {0,-1,-2,8}, 9 {0,2,3,4, 阅读全文
posted @ 2021-09-30 12:16 上官书房 阅读(32) 评论(0) 推荐(0)
摘要:题目链接:https://www.luogu.com.cn/problem/P2761 1 #include<bits/stdc++.h> 2 #define ll long long 3 using namespace std; 4 const int N=2e6+11; 5 const ll i 阅读全文
posted @ 2021-08-17 15:02 上官书房 阅读(32) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2021-08-16 23:11 上官书房 阅读(43) 评论(0) 推荐(0)