We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5017c63 commit e41b688Copy full SHA for e41b688
libs/utils.py
@@ -2,5 +2,7 @@
2
INF = 1 << 63
3
lowerlist = list("abcdefghijklmnopqrstuvwxyz")
4
upperlist = list("ABCDEFGHIJKLMNOPQRSTUVWXYZ")
5
+MOVES1 = [(0, 1), (0, -1), (1, 0), (-1, 0)]
6
+MOVES2 = MOVES1 + [(1, 1), (1, -1), (-1, 1), (-1, -1)]
7
8
# コード
0 commit comments