https://leetcode.com/problems/reverse-bits/
Reverse bits of a given 32 bits unsigned integer.
For example, given input 43261596 (represented in binary as 00000010100101000001111010011100), ret...
分类:
其他好文 时间:
2015-04-13 00:26:40
阅读次数:
143
Coin ChangeTime Limit: 1000msMemory Limit: 32768KBThis problem will be judged onHDU. Original ID:206964-bit integer IO format:%I64d Java class name:Ma...
分类:
其他好文 时间:
2015-04-13 00:07:47
阅读次数:
200
题目Write a function that takes an unsigned integer and returns the number of ’1’ bits it has (also known as the Hamming weight).For example, the 32-bit integer ’11’ has binary representation 00000000000...
分类:
其他好文 时间:
2015-04-12 21:12:01
阅读次数:
130
软件平台:win7(64bit) + Quartus II 9.1 (64-Bit) 硬件平台:东理电子Easy-FPGA Cyclone II EP2C5T114C8N 这个开发板买了很长时间了,买来后一直放那,下面来一个点灯的例子。 1. 实验任务 点亮发光二极管。 通过这个实验, 熟悉并掌握 ...
分类:
其他好文 时间:
2015-04-12 20:43:07
阅读次数:
303
Ubuntu现在官方主推的系统是14.04的64-bit,这东西在虚拟机划出1G内存给它也很卡,因此还是选择经典版本Ubuntu12.04。直接打开Ubuntu选择性下载页http://www.ubuntu.com/download/alternative-downloads(点击打开链接)翻到BT下载的部分,找到Ubuntu 12.04.5
Desktop (32-bit),这东西就是不错的...
分类:
系统相关 时间:
2015-04-12 09:18:21
阅读次数:
173
Buy the souvenirsTime Limit: 1000msMemory Limit: 32768KBThis problem will be judged onHDU. Original ID:212664-bit integer IO format:%I64d Java class n...
分类:
其他好文 时间:
2015-04-11 19:15:25
阅读次数:
142
Image
二进制数据类型
Image 数据类型用来存储变长的二进制数据,最大可达231-1或大约20亿字节
Binary
二进制数据类型
Binary 数据类型用来存储可达8000字节长的二进制数据
Bit
整型
Bit数据类型是整型,其值只能是0,1或空值(NULL)。这种数据类型用于存储只有两种可能值的数据,如Ye...
分类:
数据库 时间:
2015-04-11 18:04:43
阅读次数:
195
Proud MerchantsTime Limit: 1000msMemory Limit: 65536KBThis problem will be judged onHDU. Original ID:346664-bit integer IO format:%I64d Java class nam...
分类:
其他好文 时间:
2015-04-11 17:43:24
阅读次数:
93
一。波特率是指传输的符号每秒,而比特是指转换为二进制信息后多少个bit每秒。在每个符号只能取两种值的情况下,每个符号所带的信息就是1bit,这时波特率跟比特率在数值上相等。假设一个符号有N种取值,那么转换为二进制后就有log2N位,相应的比特率就是波特率的这么多倍。二。在电子通信领域,波特率即调制速...
分类:
其他好文 时间:
2015-04-11 17:41:56
阅读次数:
144
题目:
The gray code is a binary numeral system where two successive values differ in only one bit.Given a non-negative integer n representing the total number of bits in the code, print the sequence of...
分类:
其他好文 时间:
2015-04-11 16:25:26
阅读次数:
127