Name: Anonymous 2009-05-18 23:02
First, can you guess what this does?
It's a solution from the forum for Euler Project problem 32, "Find the sum of all products whose multiplicand/multiplier/product identity can be written as a 1 through 9 pandigital.", and it's written in K.
That's not too shabby, huh?
I've been thinking about learning a APL-based language. J looks like a good choice. Anyone know anything about this?
+/?,/,/'(!10000;!1000){r*"123456789"~{x@<x}@,/$x,y,r:x*y}/:\:'(1+!9;11+!89)It's a solution from the forum for Euler Project problem 32, "Find the sum of all products whose multiplicand/multiplier/product identity can be written as a 1 through 9 pandigital.", and it's written in K.
That's not too shabby, huh?
I've been thinking about learning a APL-based language. J looks like a good choice. Anyone know anything about this?