2019多校聯訊 test 3 T2

  dfs+二分答案,二分可能的傷害值 #include<bits/stdc++.h> using namespace std; const int maxn=1050; int n,m; int p[maxn][maxn]; int dx[5]={0,1,-1,0,0}; int dy[5]={0,0,0,-1,1}; int l,r; bool flag; bool vis[maxn][max
相關文章
相關標籤/搜索