In China, people use a pair of chopsticks to get food on the table, but Mr. L is a bit different. He uses
a set of three chopsticks – one pair, plus an EXTRA long chopstick to get some big food by pi...
分类:
其他好文 时间:
2015-05-12 23:00:48
阅读次数:
271
1. 什么是寄存器呢? 就是可以用指令进行读写的部件. 程序员通过改变各种寄存器中的内容实现对CPU的控制. 如果是16位CPU的话, 就是相当于2个存储单元.2. 字在寄存器中的存储? 8086CPU可以一次性处理两种尺寸的数据Byte: 字节型数据, 一个字节由8个bit组成, 可以存在8位寄存...
分类:
其他好文 时间:
2015-05-12 20:42:00
阅读次数:
104
下载安装包
wget http://mirrors.cnnic.cn/apache//apr/apr-1.5.2.tar.gz
wget http://mirrors.cnnic.cn/apache//apr/apr-util-1.5.4.tar.gz
wget http://mirror.bit.edu.cn/apache/tomcat/tomcat-connectors/native/1...
分类:
其他好文 时间:
2015-05-12 17:21:20
阅读次数:
125
How many prime numbersTime Limit: 1000msMemory Limit: 32768KBThis problem will be judged onHDU. Original ID:213864-bit integer IO format:%I64d Java cl...
分类:
其他好文 时间:
2015-05-12 13:17:52
阅读次数:
102
Install MeMarcus Bakeri AM NOT THE SLiGHTEST BiT iNTERESTED iN YOUR PROGRAM.
I am surrounded by problems and have a to-do list as long as my arm. The only reason I am at your website right now is beca...
分类:
其他好文 时间:
2015-05-12 11:21:37
阅读次数:
123
download jdk8 and install.check java version: sodino:~ sodino$ java -version
java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25...
分类:
系统相关 时间:
2015-05-12 09:19:02
阅读次数:
197
这是小米2015年暑假实习生第一道笔试题,其实不难,主要用到移位操作和或运算符就可以搞定,具体代码如下:
/*世界上有10种人,一种懂二进制,一种不懂。那么你知道两个int32整数m和n的二进制表达,有多少个位(bit)不同么?
输入例子:
1999 2299
输出例子:
7
*/
#include
int countBitDiff(int m, int n)
{
int data=1;...
分类:
其他好文 时间:
2015-05-12 01:45:02
阅读次数:
166
CentOS-6.5-x86_64-minimal-httpd-2.4.12-mysql-5.6.23-php-5.6.8------------------------------ 软件准备http://mirror.bit.edu.cn/apache/apr/apr-1.5.2.tar.gzh....
分类:
数据库 时间:
2015-05-12 01:20:04
阅读次数:
205
bit = {data32={}}for i = 1, 32 do bit.data32[i] = 2^(32-i)endfunction bit:d2b( arg ) local num = tonumber( arg ) local tr = {} if num ...
分类:
其他好文 时间:
2015-05-11 23:28:27
阅读次数:
446
数据库分类: Sql数据库: Oracle,Mysql。。。 NoSql数据库:Redis,MongoDBMongoDB 无表结构限制:没有表的概念限制。 完全的索引支持 方便的冗余与扩展。复制集保证数据安全,分片扩展数据规模。 良好的支持。1,官网下载MongBD-windows 64-...