CC150 Bit manipulation

来源:互联网 发布:c语言api教程 编辑:程序博客网 时间:2024/04/29 15:40

The big manipulation problem on CC150 is quite tricky/


there are basically fundamental operation like and or and xor. 


and we can use the bit movement to solve some problems like set get and update the bits in some specific position.

like (1 << i)


There are  some questions for one problem:

5.2

5.3

5.7

5.8

0 0
原创粉丝点击