Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
|
|
@ -0,0 +1,8 @@
|
|||
IO.puts("P - F - S")
|
||||
for p <- [2,4,6],
|
||||
f <- 1..7,
|
||||
s <- 1..7,
|
||||
p != f and p != s and f != s and p + f + s == 12 do
|
||||
"#{p} - #{f} - #{s}"
|
||||
end
|
||||
|> Enum.each(&IO.puts/1)
|
||||
15
Task/Department-numbers/Elixir/department-numbers-2.elixir
Normal file
15
Task/Department-numbers/Elixir/department-numbers-2.elixir
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
P - F - S
|
||||
2 - 3 - 7
|
||||
2 - 4 - 6
|
||||
2 - 6 - 4
|
||||
2 - 7 - 3
|
||||
4 - 1 - 7
|
||||
4 - 2 - 6
|
||||
4 - 3 - 5
|
||||
4 - 5 - 3
|
||||
4 - 6 - 2
|
||||
4 - 7 - 1
|
||||
6 - 1 - 5
|
||||
6 - 2 - 4
|
||||
6 - 4 - 2
|
||||
6 - 5 - 1
|
||||
Loading…
Add table
Add a link
Reference in a new issue