Very smart solution, thanks. I felt that my solution was not go

来源: 乱弹 2007-11-21 12:02:02 [] [博客] [旧帖] [给我悄悄话] 本文已被阅读: 0 次 (192 bytes)
本文内容已被 [ 乱弹 ] 在 2007-12-03 13:45:58 编辑过。如有问题,请报告版主或论坛管理删除.
because the strategy is too simple.

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- 给 endofsuburbia 发送悄悄话 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- 给 endofsuburbia 发送悄悄话 endofsuburbia 的博客首页 (326 bytes) () 11/21/2007 postreply 20:38:40

Great!! -乱弹- 给 乱弹 发送悄悄话 乱弹 的博客首页 (0 bytes) () 11/23/2007 postreply 20:05:37

请您先登陆,再发跟帖!

发现Adblock插件

如要继续浏览
请支持本站 请务必在本站关闭/移除任何Adblock

关闭Adblock后 请点击

请参考如何关闭Adblock/Adblock plus

安装Adblock plus用户请点击浏览器图标
选择“Disable on www.wenxuecity.com”

安装Adblock用户请点击图标
选择“don't run on pages on this domain”