摘要:
这个题求连续下降距离第一个想法肯定是DFS接着想一下可能会出现向下深搜的过程中搜到已经搜过的点所以再记忆化以下#include using namespace std;typedef long long ll;c... 阅读全文
摘要:
C. Three Parts of the Arraytime limit per test1 secondmemory limit per test256 megabytesinputstandard inpu... 阅读全文
摘要:
B. Polycarp's Practicetime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputout... 阅读全文
摘要:
A. Adjacent Replacementstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputou... 阅读全文
摘要:
迷宫类是经典dfs地图数组标记障碍物存在数组表姐已经是否走过边dfs边回溯枚举所有符合题意的组合#include using namespace std;const int MAXN = 6;int N, M, ... 阅读全文