码迷,mamicode.com
首页 >  
搜索关键字:bit reversal    ( 10533个结果
HDU 4815 Little Tiger vs. Deep Monkey
Little Tiger vs. Deep MonkeyTime Limit: 1000msMemory Limit: 65535KBThis problem will be judged onHDU. Original ID:481564-bit integer IO format:%I64d J...
分类:其他好文   时间:2014-08-27 10:44:38    阅读次数:307
HDU 482 String
StringTime Limit: 1000msMemory Limit: 32768KBThis problem will be judged onHDU. Original ID:482164-bit integer IO format:%I64d Java class name:MainGiv...
分类:其他好文   时间:2014-08-26 22:48:36    阅读次数:214
bitmap算法
32位机器上,一个整形,比如inta;在内存中占32bit位移转换(1)求十进制数0-N对应的在数组a中的下标index_loc=N/32即可,index_loc即为n对应的数组下标。例如n=76,则loc=76/32=2,因此76在a[2]中。(2)求十进制数0-N对应的bit位bit_loc=N...
分类:其他好文   时间:2014-08-26 22:46:56    阅读次数:261
poj 2240 Arbitrage
Time Limit: 1000 MS Memory Limit: 65536 KB64-bit integer IO format: %I64d , %I64u Java class name: Main[Submit] [Status] [Discuss]DescriptionArbitrage...
分类:其他好文   时间:2014-08-26 21:13:06    阅读次数:206
OpenGL学习(一)一个简单的绘制矩形程序
一段简单的绘制正方形的程序: #include<gl/glut.h> voiddisplay() { glClear(GL_COLOR_BUFFER_BIT); glBegin(GL_POLYGON); glVertex2f(-0.5,-0.5); glVertex2f(-0.5,0.5); glVertex2f(0.5,0.5); glVertex2f(0.5,-0.5); glEnd(); glFlush(); } intmain(intarg..
分类:其他好文   时间:2014-08-26 19:58:47    阅读次数:307
hdu 1166
只是纪念1A #include #include #include using namespace std; #define maxx 50050 int bit[maxx],a[maxx]; int n; int aa,bb; char s[10]; int sum(int i){ int s=0; while (i>0){ s+=bit[i]; ...
分类:其他好文   时间:2014-08-26 19:42:26    阅读次数:166
linux查看系统的硬件信息
1.cpulscpu命令,查看的是cpu的统计信息.blue@blue-pc:~$ lscpuArchitecture: i686 #cpu架构CPU op-mode(s): 32-bit, 64-bitByte Order: ...
分类:系统相关   时间:2014-08-26 19:22:36    阅读次数:229
POJ 2117 Electricity
ElectricityTime Limit: 5000msMemory Limit: 65536KBThis problem will be judged onPKU. Original ID:211764-bit integer IO format:%lld Java class name:Mai...
分类:其他好文   时间:2014-08-26 13:23:46    阅读次数:219
Nios II 中的缓存和内存数据的读写
nios 使用地址中31bit来表示访问是否bypass cache。如果bit 31=0 表示不bypass cache,即使用cache里的数据;如果bit 31=1表示bypass cache,即直接使用mem中的数据。如alt_remap_uncached函数 1 #ifdef NIOS2_...
分类:移动开发   时间:2014-08-26 00:12:15    阅读次数:526
计算机的存储单位
计算机的存储单位位 bit (比特)(Binary Digits):存放一位二进制数,即 0 或 1,最小的存储单位。字节 byte:8个二进制位为一个字节(B),最常用的单位。即1B(byte 字节) = 8 bit计算机存储单位一般用B,KB,MB,GB,TB,PB,EB,ZB,YB,BB来表示...
分类:其他好文   时间:2014-08-25 22:46:24    阅读次数:270
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!