Hi Linda, do you mean something like:

   ". (53$1 0)#inv"1 A
1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 3 3 3 3 3 3 3 3 3 
1 1 1 2 2 2 3 3 3 1 1 1 2 2 2 3 3 3 1 1 1 2 2 2 3 3 3
1 2 3 1 2 3 1 2 3 1 2 3 1 2 3 1 2 3 1 2 3 1 2 3 1 2 3

?

Ben
________________________________________
From: Programming [[email protected]] on behalf of Linda 
Alvord [[email protected]]
Sent: Monday, October 16, 2017 14:48
To: [email protected]
Subject: [Jprogramming] all combs

Here's an "all combinations"challenge.


    ]A=:|:((3^3),3)$, >{3$<'123'

111111111222222222333333333

111222333111222333111222333

123123123123123123123123123

$A

3 27



Find a way to separate all rows and columns with spaces so you can apply “. To 
turn the characters to a 3 27 array of jntegers.

.

Linda




Sent from AOL Mobile Mail
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to