HF RL Explorer

Implement a Dijkstra shortest-path solver for a 2D grid. The grid is provided as a text file where each line…

Implement a Dijkstra shortest-path solver for a 2D grid. The grid is provided as a text file where each line…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Exact input/output contract: - The grid file path is the first argument, start coordinate second, goal…

The task

Exact input/output contract: - The grid file path is the first argument, start coordinate second, goal coordinate third. - Coordinates are 1-based: "row col" with row 1 at the top, col 1 at the left. Row increases downward, column increases rightward. - Movement is allowed in 4 directions: up, down, left, right.…

Part of ai-and/termgrade-environments.