mirror of
https://github.com/open-thought/reasoning-gym.git
synced 2026-04-19 12:58:07 +00:00
fix: Unify Prompts (#254)
* remove cot * fix prompt template * fix pool matrix * spiral matrix fixed
This commit is contained in:
parent
49db4ed761
commit
01e1c8f9af
31 changed files with 65 additions and 354 deletions
|
|
@ -16,23 +16,12 @@ The grid is represented as a matrix with the following types of cells:
|
|||
- X: a blocked cell
|
||||
|
||||
Therefore, you need to find the shortest path from * to #, moving only through open cells.
|
||||
|
||||
You may only move in four directions: up, down, left, and right.
|
||||
|
||||
If there is no path from * to #, simply write "infeasible" (without quotes).
|
||||
|
||||
Example 1:
|
||||
- Input: Find the length of the shortest path from * to # in the following grid:
|
||||
X X X X X
|
||||
X * O O X
|
||||
X O X O X
|
||||
X X X O #
|
||||
- Output: right right down down right
|
||||
|
||||
Example 2:
|
||||
- Input: Find the length of the shortest path from * to # in the following grid:
|
||||
X X X X X
|
||||
X * O O X
|
||||
X O X O X
|
||||
X X X X #
|
||||
- Output: infeasible
|
||||
Your output should be a sequence of directions that leads from * to #, e.g. right right down down up left
|
||||
|
||||
Now, find the length of the shortest path from * to # in the following grid:
|
||||
{grid}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue