given inputs X,Y,Z and operation | and & (bitwise OR and AND)
what is output eaqual to in
output=(X & Y) | (X & Z) | ( Y & Z)
Thanks!
• 在来一个 easy one: -戏雨飞鹰- ♀ (134 bytes) () 01/07/2009 postreply 19:16:59
• 2nd one is for C++ question:) -戏雨飞鹰- ♀ (0 bytes) () 01/07/2009 postreply 19:19:49
• 第一和二可互换。就是一格式问题。 -李大牙- ♂ (0 bytes) () 01/07/2009 postreply 19:43:31
• but, the code inside could be compiled,李大牙:) -戏雨飞鹰- ♀ (235 bytes) () 01/07/2009 postreply 19:53:03
• 我瞎猜啊---可能跟方言有关。我刚用MFC两种都无法编译。 -LiYouCai- ♂ (0 bytes) () 01/07/2009 postreply 20:03:11
• 看来两位老李是对的。实践证明: -戏雨飞鹰- ♀ (82 bytes) () 01/07/2009 postreply 20:15:52
• 姿势和位置的问题!可比69?澳土专家来看看! -眼冒金星- ♂ (0 bytes) () 01/07/2009 postreply 23:24:53
• 这几个题除了你说的69,其他的俺都不懂:( -澳洲老土- ♂ (0 bytes) () 01/07/2009 postreply 23:54:22
• 是问 (X & Y) | (X & Z) | ( Y & Z) 等于多少吗? -李大牙- ♂ (5 bytes) () 01/07/2009 postreply 19:51:05
• I don't know:). I just copied the exact qustion to here. -戏雨飞鹰- ♀ (13 bytes) () 01/07/2009 postreply 19:54:57
• 木机啊! 觉得最多也就是减少一次操作了~ -LiYouCai- ♂ (26 bytes) () 01/07/2009 postreply 20:08:02
• bingo! (图) -胡说之- ♂ (311 bytes) () 01/08/2009 postreply 06:45:48
• 头很痛 -dropinto- ♀ (0 bytes) () 01/07/2009 postreply 20:02:12
• 谢谢各位! -戏雨飞鹰- ♀ (0 bytes) () 01/07/2009 postreply 20:17:47
• 太高深了,真的是干挨踢的才懂. -any_mor_left- ♂ (0 bytes) () 01/07/2009 postreply 20:59:58
• it's like a function of conditional probability -小谋- ♀ (0 bytes) () 01/07/2009 postreply 21:06:40
• 好像是男友X和女友Y,然后男友X和女友Z,最后是Y和Z整一块去了!乱! -眼冒金星- ♂ (0 bytes) () 01/07/2009 postreply 23:18:12
• 结论是:资源最大化利用,谁都不闲着 -澳洲老土- ♂ (0 bytes) () 01/07/2009 postreply 23:53:21
• output=0 -dropinto- ♀ (0 bytes) () 01/08/2009 postreply 04:35:26
• 不是 guru -安心草- ♀ (143 bytes) () 01/08/2009 postreply 06:48:04
• =X|Y|Z -ncpga- ♂ (0 bytes) () 01/08/2009 postreply 08:23:50
• Wrong. -胡说之- ♂ (150 bytes) () 01/08/2009 postreply 10:06:43
• 你整天还在整这个,怎么挣6位数呀?悬。。 -mdq100- ♂ (0 bytes) () 01/08/2009 postreply 08:45:30
• 回复:IT guru,问个问题: -130131- ♀ (49 bytes) () 01/08/2009 postreply 13:03:19
• 能人可真多呀(除了mdq100以外~~),谢谢谢谢! -戏雨飞鹰- ♀ (0 bytes) () 01/08/2009 postreply 16:22:21