流感传染(java) 摘要:解题思路:注意事项:参考代码:import java.util.Scanner; public class 流感传染 { public static void main(String[…… 题解列表 2024年03月11日 0 点赞 0 评论 114 浏览 评分:0.0
BFS模版题(很模版) 摘要: ```cpp #include using namespace std; typedef pair PII; const int N=1000; int n,end_day; c…… 题解列表 2024年05月30日 0 点赞 0 评论 168 浏览 评分:0.0
3022: 流感传染一眼丁真 摘要:解题思路: 遍历数组s在哪有@,有就在另一个数组上标记为1;数组s遍历完后,遍历数组a,在有标记的位置对应数组s[ i ][ j ],后判断是s[ i ][ j ]四个方向是否能被感染;…… 题解列表 2024年11月20日 1 点赞 0 评论 131 浏览 评分:0.0
3022: 流感传染 呜呜呜呜呜呜呜呜呜呜 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; int main(){ // 定义变量n和m,以及sum用于计数 …… 题解列表 2024年11月20日 0 点赞 0 评论 169 浏览 评分:0.0