洛谷 P1596 [USACO10OCT]Lake Counting S
洛谷 P1596 [USACO10OCT]Lake Counting Shttps://www.luogu.com.cn/problem/P1596很水的一题,我比较菜,不能很快的写出来。每次遇到W的时候,就搜索一下,把搜到的W全部变成" . ",一共搜索了几次,就是有多少的水坑。#include <bits/stdc++.h>using namespace std;const int N = 110;char g[N][N];int n, m;bool vis[N][N]
原创
2022-05-09 23:11:02 ·
293 阅读 ·
0 评论