Some "special" number I found...

I can't see how this is a Square-1 alg. It doesn't tell if a turn is clockwise or anti-clockwise.

This python script:

s = '03122115261222222221643222162612223461222222221625 112213213211222424222424222112312'
print ''.join(map(lambda y: '(%s, %s)/ ' % y,(lambda x: zip(x[0::2],x[1::2]))(''.join(s.split()))))

gave me this output:

(0, 3)/ (1, 2)/ (2, 1)/ (1, 5)/ (2, 6)/ (1, 2)/ (2, 2)/ (2, 2)/ (2, 2)/ (2, 1)/
(6, 4)/ (3, 2)/ (2, 2)/ (1, 6)/ (2, 6)/ (1, 2)/ (2, 2)/ (3, 4)/ (6, 1)/ (2, 2)/
(2, 2)/ (2, 2)/ (2, 2)/ (1, 6)/ (2, 5)/ (1, 1)/ (2, 2)/ (1, 3)/ (2, 1)/ (3, 2)/
(1, 1)/ (2, 2)/ (2, 4)/ (2, 4)/ (2, 2)/ (2, 4)/ (2, 4)/ (2, 2)/ (2, 1)/ (1, 2)/
(3, 1)/

it just doesn't work. =\

EDIT: I've just read Robert-Y post. =P
 
Last edited:
Back
Top