摘要: 老二次元题面了 直接统计 #include<iostream> using namespace std; const int N = 110; char g[N][N]; int r, c, k; int p[N], q[N]; int res; int main(){ cin >> r >> c 阅读全文
posted @ 2020-10-05 21:16 yys_c 阅读(129) 评论(0) 推荐(0) 编辑
摘要: 这题硬模拟就行了,不要搞什么花里胡哨的递归啥的 #include<iostream> #include<vector> using namespace std; const int N = 510; int n, m; int g[N][N]; int b[N]; void dfs(int x, i 阅读全文
posted @ 2020-10-05 19:54 yys_c 阅读(219) 评论(0) 推荐(0) 编辑