摘要:
https://www.acwing.com/problem/content/169/ #include <cstring> #include <iostream> #include <algorithm> using namespace std; const int N = 70; int n; 阅读全文
摘要:
https://www.acwing.com/problem/content/168/ #include <algorithm> #include <iostream> using namespace std; const int N = 9; // 0- 511 // ones[i] 表示i这个数 阅读全文
摘要:
https://www.acwing.com/problem/content/167/ #include <cstring> #include <iostream> #include <algorithm> using namespace std; const int N = 20; int n, 阅读全文
摘要:
https://www.acwing.com/problem/content/1120/ #include <iostream> #include <vector> #include <algorithm> using namespace std; const int N = 15; vector< 阅读全文
摘要:
https://www.acwing.com/problem/content/1119/ #include <cstring> #include <iostream> #include <algorithm> using namespace std; const int N = 21; int n; 阅读全文
摘要:
https://www.acwing.com/problem/content/1118/ #include <cstring> #include <iostream> #include <algorithm> using namespace std; const int N = 10; int n, 阅读全文
摘要:
https://www.acwing.com/problem/content/1115/ #include<bits/stdc++.h> using namespace std; const int N = 25; char g[N][N]; bool st[N][N]; int n, m; int 阅读全文
摘要:
https://www.acwing.com/problem/content/1114/ #include<bits/stdc++.h> using namespace std; const int N = 150; char g[N][N]; bool st[N][N]; int n; int s 阅读全文
摘要:
https://www.acwing.com/problem/content/1109/ #include <cstring> #include <iostream> #include <algorithm> #include <unordered_map> #include <queue> usi 阅读全文
摘要:
https://www.acwing.com/problem/content/175/ 多源转化为单源最短路问题 #include <cstring> #include <iostream> #include <algorithm> #define x first #define y second 阅读全文
摘要:
https://www.acwing.com/problem/content/1078/ 注意记录状态的唯一性 #include<bits/stdc++.h> #define x first #define y second using namespace std; typedef pair<int 阅读全文
摘要:
https://www.acwing.com/problem/content/1100/ 注意这题里面对连通性的处理。 #include <cstring> #include <iostream> #include <algorithm> #define x first #define y seco 阅读全文