mirror of
https://github.com/youngyangyang04/leetcode-master.git
synced 2025-07-06 07:06:42 +08:00
添加0126.骑士的攻击astar C语言 版本
This commit is contained in:
@ -402,7 +402,7 @@ typedef struct {
|
||||
int f; // 总的估计消耗(f = g + h)
|
||||
} Knight;
|
||||
|
||||
#define MAX_HEAP_SIZE 2000000 // 优先队列的最大容量
|
||||
#define MAX_HEAP_SIZE 2000000 // 假设优先队列的最大容量
|
||||
|
||||
// 定义一个优先队列,使用最小堆来实现 A* 算法中的 Open 列表
|
||||
typedef struct {
|
||||
|
Reference in New Issue
Block a user