Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RT-Thread/env-windows
/ safe
Method
safe
tools/python-3.11.9-amd64/Tools/demo/queens.py:38–39 ·
view source on GitHub ↗
(self, x, y)
Source
from the content-addressed store, hash-verified
36
self.remove(x, y)
37
38
def
safe(self, x, y):
39
return
not self.row[y] and not self.up[x-y] and not self.down[x+y]
40
41
def
place(self, x, y):
42
self.y[x] = y
Callers
1
solve
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected