给定一个整数数组,数组元素的值>=1和
例如,对于数组(9,11,13,15),我们可以找到一组(9,0xFF9),使得对任意一个该数组的元素x,x&0xFF9=9成立.也可以用四组(9,0xFFF),(11,0xFFF),(13,0xFFF),(15,0xFFF)使得x&0xFFF=9,x&0xFFF=11,x&0xFFF=13,x&0xFFF=15其中之一成立.最小的组数是1,为(9,0xFF9).
•
回复:求助
-rongming2008-
♂
(126 bytes)
()
04/12/2009 postreply
07:30:57
•
回复:求助
-dynamic-
♂
(264 bytes)
()
04/13/2009 postreply
20:48:40
•
回复:求助
-rongming2008-
♂
(416 bytes)
()
04/13/2009 postreply
21:49:34
WENXUECITY.COM does not represent or guarantee the truthfulness, accuracy, or reliability of any of communications posted by other users.
Copyright ©1998-2025 wenxuecity.com All rights reserved. Privacy Statement & Terms of Use & User Privacy Protection Policy