回复:计算机程序题

int i=0;
while( !(n & 0x1)) {
n >>= 1;
i++;
}
n ^= 0x1;
while(i>0) n

所有跟帖: 

好像有错 -butdie- 给 butdie 发送悄悄话 butdie 的博客首页 (69 bytes) () 12/21/2007 postreply 02:14:13

呵呵,还是有点小问题 -ohlalala- 给 ohlalala 发送悄悄话 (4 bytes) () 12/21/2007 postreply 03:31:52

不懂别乱跟贴 -butdie- 给 butdie 发送悄悄话 butdie 的博客首页 (83 bytes) () 12/21/2007 postreply 04:39:39

自己输进去试试?别自己打自己的脸。 -ohlalala- 给 ohlalala 发送悄悄话 (0 bytes) () 12/21/2007 postreply 04:52:36

笨啊,++也不能用 -butdie- 给 butdie 发送悄悄话 butdie 的博客首页 (90 bytes) () 12/21/2007 postreply 05:19:48

请您先登陆,再发跟帖!