public
class
CircleImageView extends
ImageView {
private
static
final
ScaleType SCALE_TYPE = ScaleType.CENTER_CROP;
private
static
final
Bitmap.Config BIT...
分类:
移动开发 时间:
2015-03-15 10:55:45
阅读次数:
306
Description BIT has recently taken delivery of their new supercomputer, a 32 processor Apollo Odyssey distributed shared memory machine with a hie...
分类:
其他好文 时间:
2015-03-15 00:34:49
阅读次数:
262
Going HomeTime Limit: 1000msMemory Limit: 65536KBThis problem will be judged on PKU. Original ID: 2195 64-bit integer IO format: %lld Ja...
分类:
其他好文 时间:
2015-03-14 22:54:47
阅读次数:
158
Popular CowsTime Limit: 2000msMemory Limit: 65536KBThis problem will be judged on PKU. Original ID: 2186 64-bit integer IO format: %lld ...
分类:
其他好文 时间:
2015-03-14 21:22:35
阅读次数:
121
InternshipTime Limit: 5000msMemory Limit: 32768KBThis problem will be judged on ZJU. Original ID: 2532 64-bit integer IO format: %lld Ja...
分类:
其他好文 时间:
2015-03-14 19:50:28
阅读次数:
153
描述分析
转化为二进制按位来计算, 最后把每一位的加起来
f[i]表示i到n的期望路径长度, d[i]表示i的度
因为i的期望是由i走到的点状态转移得到的, 所以在计算概率时应该用i的度来算
如果i到j的边的权值的第 BIT 位是0, 任何数异或0都是它本身, 所以f[i] = f[j] / d[i] + …
如果i到j的边的权值的第 BIT 位是1, 异或一相当于取反. 所以f[i] = (1-f...
分类:
其他好文 时间:
2015-03-14 18:36:38
阅读次数:
140
ISO的OSI OSI(open system interconnection)开放系统互联模型是由ISO国际标准化组织定义的网络分层模型,共七层, 从下往上为:OSI七层参考模型物理层(Physical Layer)物理层定义了所有电子及物理设备的规范,为上层的传输提供了一个物理介质,本层中数据传输的单位为比特(bit/二进制位)。属于本层定义的规范有EIA/TIA RS-232、RJ-4...
分类:
其他好文 时间:
2015-03-14 12:30:23
阅读次数:
163
http://www.catonmat.net/blog/low-level-bit-hacks-you-absolutely-must-know/Bit Hack #6. Turn off the rightmost 1-bit.y = x & (x-1)Bit Hack #7. Isolate ...
分类:
其他好文 时间:
2015-03-14 12:22:59
阅读次数:
209
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 i...
分类:
其他好文 时间:
2015-03-14 06:14:08
阅读次数:
165
LPC1788通用IO口的控制包含了一些基本的组件,比如设置推挽输出,开漏输出,上拉电阻等,我们今天来看看. 首先使用GPIO要打开GPIO的系统时钟 LPC_SC->PCONP |= (1>第五章(87页~92页).//IO口操作宏定义#define BITBAND(addr, bit...
分类:
其他好文 时间:
2015-03-14 00:58:37
阅读次数:
341