摘要: 题目 分析 k短路,Astar。估价函数是终点向外跑的最短路。 显然不是正解qwq。 代码 // By noble_ // Astar algorithm // #include <bits/stdc++.h> #include <cstdio> #include <algorithm> #incl 阅读全文
posted @ 2018-09-29 20:43 noble_(noblex) 阅读(172) 评论(0) 推荐(0) 编辑
摘要: 题目 分析 我好菜啊。 一波IDA*水过去了。 代码 #include <bits/stdc++.h> using namespace std; const int maxn = 7; char s[maxn][maxn]; int a[maxn][maxn], res=0;; int dx[10] 阅读全文
posted @ 2018-09-29 20:14 noble_(noblex) 阅读(174) 评论(0) 推荐(0) 编辑
摘要: 打了一堆竟然unsaved? 网不好,难受。 直接扔板子,内用龟速乘。 阅读全文
posted @ 2018-09-29 20:03 noble_(noblex) 阅读(237) 评论(0) 推荐(0) 编辑
/* */