2016 Update
This commit is contained in:
parent
948b86eafa
commit
dcf5d15da3
7965 changed files with 139854 additions and 31002 deletions
22
Task/Ordered-Partitions/J/ordered-partitions-3.j
Normal file
22
Task/Ordered-Partitions/J/ordered-partitions-3.j
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
+/\. 2 0 2
|
||||
4 2 2
|
||||
({@comb&.> +/\.) 2 0 2
|
||||
┌─────────────────────────┬──┬─────┐
|
||||
│┌───┬───┬───┬───┬───┬───┐│┌┐│┌───┐│
|
||||
││0 1│0 2│0 3│1 2│1 3│2 3││││││0 1││
|
||||
│└───┴───┴───┴───┴───┴───┘│└┘│└───┘│
|
||||
└─────────────────────────┴──┴─────┘
|
||||
>@,@{@({@comb&.> +/\.) 2 0 2
|
||||
┌───┬┬───┐
|
||||
│0 1││0 1│
|
||||
├───┼┼───┤
|
||||
│0 2││0 1│
|
||||
├───┼┼───┤
|
||||
│0 3││0 1│
|
||||
├───┼┼───┤
|
||||
│1 2││0 1│
|
||||
├───┼┼───┤
|
||||
│1 3││0 1│
|
||||
├───┼┼───┤
|
||||
│2 3││0 1│
|
||||
└───┴┴───┘
|
||||
12
Task/Ordered-Partitions/J/ordered-partitions-4.j
Normal file
12
Task/Ordered-Partitions/J/ordered-partitions-4.j
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
([,] {L:0 (i.@#@, -. [)&;)/0 1;0 1
|
||||
┌───┬───┐
|
||||
│0 1│2 3│
|
||||
└───┴───┘
|
||||
([,] {L:0 (i.@#@, -. [)&;)/0 1;0 1;0 1
|
||||
┌───┬───┬───┐
|
||||
│0 1│2 3│4 5│
|
||||
└───┴───┴───┘
|
||||
([,] {L:0 (i.@#@, -. [)&;)/0 1;0 1;0 1;0 1
|
||||
┌───┬───┬───┬───┐
|
||||
│0 1│2 3│4 5│6 7│
|
||||
└───┴───┴───┴───┘
|
||||
4
Task/Ordered-Partitions/J/ordered-partitions-5.j
Normal file
4
Task/Ordered-Partitions/J/ordered-partitions-5.j
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
(<0 1) ([,] {L:0 (i.@#@, -. [)&;)0 1;2 3;4 5
|
||||
┌───┬───┬───┬───┐
|
||||
│0 1│2 3│4 5│6 7│
|
||||
└───┴───┴───┴───┘
|
||||
Loading…
Add table
Add a link
Reference in a new issue