摘要:
搜索#include #include #include #include using namespace std;#define maxn 15int n;int map[maxn][maxn];bool visr[maxn][maxn], visc[maxn][maxn], visb[maxn]... 阅读全文
摘要:
dp#include #include #include using namespace std;#define MAX_COACH_NUM 50005int coach_num;int coach[MAX_COACH_NUM];int f[4][MAX_COACH_NUM];int sum[MAX... 阅读全文