Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Clojure/nqueens
Average-user
Nov 30th, 2017
2,719
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Clojure
0.14 KB
| None
|
0
0
raw
download
clone
embed
print
report
(
defn
queens
[
n
]
(
filter
(
fn
[
p
]
(
every?
#
(
apply
distinct
?
(
map
-
indexed
%
p
)
)
[
+
-
]
)
)
(
combo
/
permutations
(
range
1
(
inc
n
)
)
)
)
)
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
This month smells like money
CSS | 46 min ago | 1.04 KB
✅ API Flaw Money Method
CSS | 46 min ago | 1.04 KB
⭐ Exploit Documentation ⭐
CSS | 46 min ago | 1.04 KB
Identifies furniture as fake
6 hours ago | 0.38 KB
Sniffed from funkemunky report
1 day ago | 67.47 KB
fe7 rando settings for importing (requires yu...
1 day ago | 2.54 KB
Untitled
2 days ago | 14.12 KB
Untitled
2 days ago | 11.86 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!