在线咨询
eetop公众号 创芯大讲堂 创芯人才网
切换到宽版

EETOP 创芯网论坛 (原名:电子顶级开发网)

手机号码,快捷登录

手机号码,快捷登录

找回密码

  登录   注册  

快捷导航
搜帖子
查看: 1979|回复: 0

[智商测试]condem problem

[复制链接]
发表于 2007-12-30 14:11:38 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

x
M boys and N girls decide to hold a sex party in which any
two of them with opposing sex will have sex once and only once. They want to
consume as least as possible condoms while ensuring safe sex. By the term
"safe sex" they want to make sure that
1. the inside of any condom can touch at most one boy;
2. the outside of any condom can touch at most one girl;
3. two or more condoms can be used together when one is fit into another.
however, if the outside of the inner condom has been contaminated, then by
touching with it the outer condom's inside gets contaminated too. similary, if
the inside of the outer condom has been contaminated, then by touching with it,
the outside of the inner condom gets contaminated.A contaminated side should
never touch anybody else again except the one who caused that contamination;
4. condoms can be repeatedly used.
Find out the mimimum number of condoms required.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

站长推荐 上一条 /2 下一条


小黑屋| 手机版| 关于我们| 联系我们| 在线咨询| 隐私声明| EETOP 创芯网
( 京ICP备:10050787号 京公网安备:11010502037710 )

GMT+8, 2024-11-23 13:47 , Processed in 0.019194 second(s), 9 queries , Gzip On, Redis On.

eetop公众号 创芯大讲堂 创芯人才网
快速回复 返回顶部 返回列表