摘要: #include <bits/stdc++.h> using namespace std; const int maxn = 1200; int fa[maxn]; int main(){ int n, m; scanf("%d%d", &n, &m); for(int i = 1; i <= n+ 阅读全文
posted @ 2017-06-22 22:23 Aragaki 阅读(137) 评论(0) 推荐(0) 编辑
摘要: Constraints: 1 <= R, C <= 500 1 <= T <= 5 Sample Input: 5 3 5 ##### a...b ##### 3 4 #### a..b #### 3 3 #c# a.b #d# 3 3 #c# ... a.b 3 5 ..... .#.#. a.. 阅读全文
posted @ 2017-06-22 16:34 Aragaki 阅读(124) 评论(0) 推荐(0) 编辑