一直WA 第八个点,luogu上面输出是34,本地输出结果是对的33. 评测记录
https://www.luogu.com.cn/record/55380624
BTW, 我用的是A* 算法,估价函数也很简单
int EstimateRemainingStep(int current_row, int current_col, int target_row, int target_col)
{
return (abs(target_row - current_row) + 2) / 3 + (abs(target_col - current_col) + 2) / 3;
}
真不知道哪里错了。。。