摘要: A - First Grid $2\times 2$矩阵只有两种情况不满足 .# #. #. .# 特判即可 如果一个#相邻的三个格子全是.则一定不可能联通 #include<bits/stdc++.h> using namespace std; int main(){ string s1,s2; 阅读全文
posted @ 2021-11-28 20:08 PHarr 阅读(226) 评论(0) 推荐(0) 编辑