Skip to content

Commit

Permalink
Refactoring od recreational (g-q)
Browse files Browse the repository at this point in the history
  • Loading branch information
lecoutre committed Jul 21, 2024
1 parent 570f0c4 commit 6830653
Show file tree
Hide file tree
Showing 52 changed files with 1,832 additions and 44,539 deletions.
5 changes: 4 additions & 1 deletion recreational/Futoshiki/Futoshiki.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,8 @@
[x[i][j] == k for (i, j, k) in nbHints],

# respecting operator hints
[y < z if lt else y > z for (y, z, lt) in [(x[i][j], x[i][j + 1] if hr else x[i + 1][j], lt) for (i, j, lt, hr) in opHints]]
[
(
y < z if lt else y > z
) for (y, z, lt) in [(x[i][j], x[i][j + 1] if hr else x[i + 1][j], lt) for (i, j, lt, hr) in opHints]]
)
Loading

0 comments on commit 6830653

Please sign in to comment.