该文被密码保护。 阅读全文
摘要:
题目 P3385 【模板】负环 细节 判负环时不要用deque,否则会wa一个点 WA掉的数据 洛谷数据#9 正确输出:NO 代码 #include<bits/stdc++.h> using namespace std; const int maxn=2e6+10,maxm=1e6+10; int 阅读全文
摘要:
题目 P1457 [USACO2.1]城堡 The Castle 思路 三遍DFS求解 代码 #include<bits/stdc++.h> using namespace std; int n,m; const int maxn=50+5; int a[maxn][maxn][maxn][maxn 阅读全文