Who Gets the Most Candies?Time Limit: 5000msMemory Limit: 131072KBThis problem will be judged onPKU. Original ID:288664-bit integer IO format:%lld Jav...
分类:
其他好文 时间:
2015-04-21 14:22:56
阅读次数:
121
一、概念及详解
在各种体系的计算机中通常采用的字节存储机制主要有两种: big-endian和little-endian,即大端模式和小端模式。
先回顾两个关键词,MSB和LSB:
MSB:Most Significant Bit ------- 最高有效位
LSB:Least Significant Bit ------- 最低有效位
大端模式(big-edian)
big-endian:MSB存放在最低端的地址上。
举例,双字节数0x1234以big-...
分类:
其他好文 时间:
2015-04-21 13:11:00
阅读次数:
171
Space ElevatorTime Limit: 1000msMemory Limit: 65536KBThis problem will be judged onPKU. Original ID:239264-bit integer IO format:%lld Java class name:...
分类:
其他好文 时间:
2015-04-20 23:54:32
阅读次数:
212
Grey Area
Time Limit: 2000ms
Memory Limit: 65536KB
64-bit integer IO format: %lld Java class name:
Main
Special Judge
Submit
Status
PID: 1083
Dr. Grey is a data analyst, wh...
分类:
其他好文 时间:
2015-04-20 22:45:37
阅读次数:
148
Cash MachineTime Limit: 1000msMemory Limit: 10000KBThis problem will be judged onPKU. Original ID:127664-bit integer IO format:%lld Java class name:Ma...
分类:
系统相关 时间:
2015-04-20 22:17:53
阅读次数:
176
InvestmentTime Limit: 1000msMemory Limit: 30000KBThis problem will be judged onPKU. Original ID:206364-bit integer IO format:%lld Java class name:Main...
分类:
其他好文 时间:
2015-04-20 20:44:34
阅读次数:
150
一:Leetcode 89 Gray Code
题目: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 ...
分类:
其他好文 时间:
2015-04-20 17:10:42
阅读次数:
148
因为在Socket的传输中都是 Bytes 的传输,所以涉及到 Java 基本类型(char、short、int、long)与byte[] 的转化,自己总结了一下,简单的写了一个类。...
分类:
编程语言 时间:
2015-04-20 16:53:24
阅读次数:
172
1.软件准备 JDK 最新版jdk-8u45-windows-x64.exe tomcat 最新版32-bit/64-bit Windows Service Installer Eclipse IDE for Java EE Developers 最新版eclipse-jee-luna-SR2...
centos5.8 64-bit和 centos 6.5 64-bit xenserver安装linux的时候默认使用的VHM,选择对应的虚拟机模板安装linux是Linux Text界面。 VHM 转 PV 方法摸索中… centos5.8 的安装 以centos5 64-bit模板安装,Adva...
分类:
系统相关 时间:
2015-04-20 14:26:40
阅读次数:
979