The Donkey of Gui ZhouTime Limit: 1000msMemory Limit: 32768KBThis problem will be judged onHDU. Original ID:474064-bit integer IO format:%I64d Java cl...
分类:
其他好文 时间:
2014-11-18 17:27:52
阅读次数:
242
异或运算是位运算,不产生进位,也不会对其他bit产生影响。一般用XOR表示,在C语言中,异或用'^'表示。异或运算法则与无进位的二进制加法一致:0^0=0,1^0=1,0^1=1,1^1=0(同为0,异为1)对任意元素a, 令其二进制位第k位为a[k],真值表:a[k]b[k]XOR000011.....
分类:
其他好文 时间:
2014-11-17 19:11:29
阅读次数:
130
In XCode 5.1, the default arch to build APP is arm64 included, so if you want to have 32-bit build only, steps: Select on build project and open ARCH Remove ‘Standard Architect‘ Add ‘amrv7‘ Add ‘am...
分类:
其他好文 时间:
2014-11-17 16:01:33
阅读次数:
207
计算机有时候是无法精确表示现实世界中的数字的,一个是因为计算机表示数字所要用到的bit是有限的,另外一个原因则是有些数字本身无法用计算机的(二进制)表示法来存储,例如0.1、0.2等等。在面向对象的编程语言中,C++本身是建立在C的基础之上的,它们使用完全相同的数字表示和运算,且C标准的设计允许多种...
分类:
编程语言 时间:
2014-11-17 15:35:35
阅读次数:
244
LabyrinthTime Limit: 2000msMemory Limit: 32768KBThis problem will be judged onPKU. Original ID:138364-bit integer IO format:%lld Java class name:MainT...
分类:
其他好文 时间:
2014-11-17 12:13:27
阅读次数:
328
linux操作系统下查看某rpm包是32bit 还是x64bit的命令...
分类:
系统相关 时间:
2014-11-17 10:43:06
阅读次数:
182
Lausanne Capitale OlympiqueTime Limit: 1000msMemory Limit: 65536KBThis problem will be judged onOpenJudge. Original ID:103164-bit integer IO format:%l...
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 numb...
分类:
其他好文 时间:
2014-11-16 07:05:48
阅读次数:
159
位和字节
我们都知道计算机存储的东西是二进制,究其根本它只能存储101010101010这种序列,每一个数字就是一位(bit),每8位是一个字节(Byte),位是计算机传输的最小单位,而字节是编码的最小单位 。
字符
再说字符,字符是我们看到的汉字或英文,比如 “你”,"a" “@”等等 ,可以理解为我们最后看到的每一个文字都是一个字符,不同的编码对应同样字符所需的字节数也是不同的,继续...
分类:
其他好文 时间:
2014-11-15 23:17:20
阅读次数:
255
Cable TV NetworkTime Limit: 1000msMemory Limit: 30000KBThis problem will be judged onPKU. Original ID:196664-bit integer IO format:%lld Java class nam...
分类:
Web程序 时间:
2014-11-15 23:10:32
阅读次数:
466