implementation of bitmap
来源:互联网 发布:windows执行perl脚本 编辑:程序博客网 时间:2024/06/06 02:02
#define shift 5
#define tail 0x1F
#define bitword 32
#define N 10000000
int a[1+N/bitword];
void Set(int i){
a[i>>shift] |= 1<<(i&tail);
}
void Clr(int i){
a[i>>shift] &= ~(1<<(i&tail));
}
int test(int i){
return a[i>>shift] & 1<<(i&tail);
}
=============
<script type="text/javascript"><!--google_ad_client = "pub-4697687764463140";//龙思csdn博客之adsense, 创建于 07-12-11google_ad_slot = "9918311208";google_ad_width = 728; google_ad_height = 15;//--></script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js "></script>
- implementation of bitmap
- Implementation of Polymorphism
- Implementation of Heap Sort
- The Implementation of ALG_DES_MAC8_ISO9797_1_M2_ALG3
- Implementation of CServer
- Implementation of CClient
- Implementation Of Choreography
- MATLAB Implementation of MonoSLAM
- implementation of string class
- 3. Implementation Of Coffeebot
- Implementation of card reversal
- Algorithmic Implementation series(3) Implementation of Merge_Sort
- Algorithmic Implementation series(5) Implementation of Heap_Sort
- Algorithmic Implementation series(6) Implementation of Quick_Sort
- Algorithmic Implementation series(7) Implementation of Randomized_Quick_Sort
- Algorithmic Implementation series(8) Implementation of Counting_Sort
- implementation of Vector (using C++)
- Implementation of exception in Linux
- 软件方法、体系和过程的思考
- 解决EVC4.0不能单步调试PXA270
- 重回csdn
- 需求的层次
- 软件项目中各角色的心理分析
- implementation of bitmap
- 远程连接SQLExpress的方法
- 我的技术blog在cnblog
- winlike属性介绍
- 软件测试的常识
- SAP BC460 课程中文自学笔记
- 分类表设计
- 我所关心的POS打印机技术参数
- 沈南鹏:参与做大中国最成功的私企