add lanqiao216

This commit is contained in:
2025-03-15 12:09:19 +08:00
parent 50f2621647
commit 599b6a2445
2 changed files with 51 additions and 1 deletions

View File

@@ -1,3 +1,4 @@
// 蓝桥3820 混境之地
#include<bits/stdc++.h>
using namespace std;
using ll = long long;
@@ -35,7 +36,7 @@ bool dfs(int x, int y, int t){
return dp[x][y][t] = false;
}
int main(){
memset(dp, -1, sizeof dp);
memset(dp, -1, sizeof dp); // 记忆化搜索
cin >> n >> m >> k;
cin >> sx >> sy >> fx >> fy;
for(int i = 1; i <= n; i++){