2892: 最好的草 摘要:解题思路:注意事项:参考代码:n,m=map(int,input().strip().split())l = [list(j for j in input()) for i in range(n)]s…… 题解列表 2024年08月05日 0 点赞 0 评论 68 浏览 评分:0.0
python--study||O.o 摘要:参考代码:#每个草丛只能是1个'#'或2个'#' dx = (-1, 0, 1, 0) dy = (0, -1, 0, 1) def f(x, y): …… 题解列表 2024年04月17日 0 点赞 0 评论 89 浏览 评分:0.0
最好的草(c语言) 摘要:解题思路:只存在两种草丛,要么单独的小草丛,要么是两块连成一个的草丛。就算有三块以上的小草丛连在一起,也不会算作一个,而是被分成小块再计算,比方说:====.####.====这种形状的就会被算作两个…… 题解列表 2023年11月23日 1 点赞 0 评论 275 浏览 评分:9.9
2892: 最好的草 摘要:对找到的草进行扩展参考代码:#include<iostream> #include<cstdio> #include<cstdlib> using namespace std; int m…… 题解列表 2023年11月05日 0 点赞 0 评论 264 浏览 评分:9.9