摘要: 点击查看代码 #include<bits/stdc++.h> using namespace std; typedef pair<int,int> PII; const int MAXN=35; int g[MAXN][MAXN]; int n; int dx[4]={-1,0,0,1}; int 阅读全文
posted @ 2026-01-11 00:17 AnoSky 阅读(14) 评论(0) 推荐(0)
摘要: 点击查看代码 #include<bits/stdc++.h> using namespace std; const int MAXN = 400; const int INF = 1e9; //代表绝对安全 //存储被流星砸中的最早时间 int grid[MAXN][MAXN]; //既存储步数又起 阅读全文
posted @ 2026-01-11 00:14 AnoSky 阅读(6) 评论(0) 推荐(0)