安装 tar zxvf crunch-3.6.tgz cd crunch-3.6 gcc -Wall -lm -pthread -std=c99 -m64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 crunch.c -o crunch -lm make i ...
分类:
系统相关 时间:
2017-01-12 02:54:28
阅读次数:
354
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... ...
分类:
其他好文 时间:
2017-01-11 07:35:28
阅读次数:
185
可以安装64bit的mysqldb, mysqldb下载地址:http://www.codegood.com/downloads 也可以使用如下方式进行安装。 windows7 64 bits 安装 MySQL-Python-1.2.4b4.win32-py2.7.exe 安装时提示需要python ...
分类:
数据库 时间:
2017-01-10 15:08:37
阅读次数:
190
1 #include <iostream> 2 #include <queue> 3 #include <stack> 4 #include <cstdio> 5 #include <vector> 6 #include <map> 7 #include <set> 8 #include <bits ...
分类:
其他好文 时间:
2017-01-09 12:37:33
阅读次数:
142
标题就很233的题目 数据结构滑稽题 在线算法:: 可并堆维护 太难写了 表示不爱 离线算法::带权并查集将操作离散到连续的区间上(超银河英雄传说 并查集基础训练题) 线段树处理之 比较simple 1 #include <bits/stdc++.h> 2 #define N 300010 3 us ...
分类:
其他好文 时间:
2017-01-08 19:06:18
阅读次数:
237
1 #include <bits/stdc++.h> 2 #define N 1500 3 #define inf 999999999 4 using namespace std; 5 int a[N],bs[N],nx=0,ny=0,k; 6 int linky[N],lx[N],ly[N],sl ...
分类:
编程语言 时间:
2017-01-08 18:59:21
阅读次数:
230
换算公式 8bit(位)=1Byte(字节) 1024Byte(字节)=1KB 1024KB=1MB 1024MB=1GB 1024GB=1TB 容量是大写的 B 而传输的速度是小写的 b bps 是bits per second的缩写,表示比特/秒。 Bps 是bity per second 的缩 ...
分类:
其他好文 时间:
2017-01-03 19:20:35
阅读次数:
696
A - New Year and Hurry (water) 1 #include <bits/stdc++.h> 2 using namespace std; 3 int main() 4 { 5 int a[100]; 6 for(int i = 1; i <= 10; i++) 7 { 8 a ...
分类:
其他好文 时间:
2016-12-31 14:32:29
阅读次数:
198
Freescale MX51平台的透明处理根据bpp(bits_per_pixel)不同,处理方式有所不同。 透明处理涉及到两个图层的合并,这个合并操作是MX51 IPU的DP(Display process)模块来进行的。 下图为mx51 datasheet中的DP 微观架构图 上图的中Combi ...
分类:
其他好文 时间:
2016-12-29 14:12:41
阅读次数:
274
Lucas定理模版题 T行,每行一个数,为C(n, m) mod 10007的答案。 1 #include<bits/stdc++.h> 2 #define rep(i,l,r) for(int i=l;i<=r;++i) 3 using namespace std; 4 typedef long ...
分类:
其他好文 时间:
2016-12-29 07:21:03
阅读次数:
179