The first part of this solution is not improvable, and the second part can bee used to handle 3^4=81 pairs. I do not see an improvement right now.
Very smart solution, thanks. I felt that my solution was not go
The first part of this solution is not improvable, and the second part can bee used to handle 3^4=81 pairs. I do not see an improvement right now.
所有跟帖:
• I made some minor improvements. The best I got is 91. -endofsuburbia- ♂ (400 bytes) () 11/21/2007 postreply 17:13:11
• Sharing patterns is a smart idea. Can the method be generalized? -乱弹- ♂ (0 bytes) () 11/21/2007 postreply 17:49:52
• The original algorithm has -endofsuburbia- ♂ (326 bytes) () 11/21/2007 postreply 20:38:40