RosettaCodeData/Task/Combinations/APL/combinations-1.apl

8 lines
143 B
APL
Raw Permalink Normal View History

2024-10-16 18:07:41 -07:00
comb{(=0)=: (0,1+(-1) -1)1+ -1}
4 comb 5
0 1 2 3
0 1 2 5
0 1 4 5
0 3 4 5
2 3 4 5