i T j means i xor j == 0
i L j means i xor j == 1
i S j k means i xor j xor k == 1
i D j k means i xor j xor k == 0

a xor b is (a+b)%2
a xor b xor c is(a+b+c)%2

You can create equations modulo 2 that can be solved in o(n^3)

-- 
You received this message because you are subscribed to the Google Groups 
"google-codejam" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-code?hl=en.

Reply via email to