摘要:
#include#include#include#include#define max(a, b)(a > b ? a : b)#define N 30char maps[N][N];int m, n, ans;int d[4][2] = {{0, 1}, {0, -1}, {1, 0}, {-1,... 阅读全文
摘要:
#include#include#include#include#define max(a, b)(a > b ? a : b)#define N 30int a[N], vis[N], n, k, f;void DFS(int s, int m, int d)//s为搜索起点 m为已组成的正方体的... 阅读全文