摘要:
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 阅读全文