HF RL Explorer

Implement a command-line tool that finds the shortest path through a 2D grid from a start cell to a goal…

Implement a command-line tool that finds the shortest path through a 2D grid from a start cell to a goal…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input contract: - The program accepts: <grid file <start row <start col <goal row <goal col - Grid file…

The task

**Input contract:** - The program accepts: `<grid_file> <start_row> <start_col> <goal_row> <goal_col>` - Grid file format: First line is `rows cols` (space-separated integers). Remaining lines are the grid, each value is an integer cost ≥ 1, space-separated. No trailing spaces. - Coordinates are 0-indexed integers.…

Part of ai-and/termgrade-environments.