2892: 最好的草
摘要:对找到的草进行扩展参考代码:#include<iostream>
#include<cstdio>
#include<cstdlib>
using namespace std;
int m……
2892: 最好的草
摘要:解题思路:注意事项:参考代码:n,m=map(int,input().strip().split())l = [list(j for j in input()) for i in range(n)]s……
python--study||O.o
摘要:参考代码:#每个草丛只能是1个'#'或2个'#'
dx = (-1, 0, 1, 0)
dy = (0, -1, 0, 1)
def f(x, y):
……