查看cpu信息cat /proc/cpiinfo查看ubuntu版本:cat /etc/issue查看系统是32位还是64位方法1:#查看long的位数,返回32或64 getconf LONG_BIT方法2:#查看文件信息,包含32-bit就是32位,包含64-bit就是64位file /sbin...
分类:
其他好文 时间:
2014-10-09 17:31:57
阅读次数:
222
The number of CPU instruction sets has kept growing, and likewise for the operating systems which are able to run and support on more than one CPU sys...
分类:
系统相关 时间:
2014-10-09 17:02:47
阅读次数:
1016
The key is to use two constant space(32 bits) to store how many times 1 or 0 showed up in the bit i. If times of 1 in bit i is not the multiple of 3, then the unique value's bit i is 1. Otherwise the ...
分类:
其他好文 时间:
2014-10-09 15:29:08
阅读次数:
243
ASDoc路径:X:\Program Files\Adobe\Adobe Flash Builder 4.7 (64 Bit)\eclipse\plugins\com.adobe.flexbuilder.help_4.7.0.349722Outline视图的图标路径:X:\Program Files...
分类:
其他好文 时间:
2014-10-09 14:30:24
阅读次数:
153
The gray code is a binary numeral system where two successive values differ in only one bit.Given a non-negative integernrepresenting the total number...
分类:
其他好文 时间:
2014-10-09 13:16:43
阅读次数:
179
Pinball Game 3D
Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 688 Accepted Submission(s): 276
Problem Description
RD is a smart b...
分类:
其他好文 时间:
2014-10-09 03:14:37
阅读次数:
473
在安装android studio时,报错: Error launching android Studio ???? No JVM installation found. Please install a 64-bit JDK. ???? if you already have a JDK installed, defined a JAVA_HOME war...
分类:
其他好文 时间:
2014-10-09 00:29:07
阅读次数:
804
描述:
给出这样的一个矩阵,求原来的a数组
2-sat题,对每个位跑一边,跑31个位即可
具体建边
注意N=1的情况特判,还有检查对称元素是否相同
#include
#include
#include
#include
#include
#include
#define pb push_back
#include
using namespac...
分类:
其他好文 时间:
2014-10-08 12:43:25
阅读次数:
272
题目:计算1/(2^n)的值的前4为有效数字以及位数。
分析:数论,大整数。直接用数组模拟即可。
说明:打表计算,查询输出。
#include
#include
#include
#include
using namespace std;
double val[1000005];
int bit[1000005];
int main()
{
val[0] = 1;bi...
分类:
其他好文 时间:
2014-10-08 11:19:55
阅读次数:
411
本篇介绍两种HBase的安装方式:本地安装方式和伪分布式安装方式。
安装的前提条件是已经成功安装了hadoop,而且hadoop的版本要和hbase的版本相匹配。
我将要安装的hbase是hbase-0.94.11版本,需要的hadoop是hadoop-1.2.1版本。
hbase下载地址:http://mirror.bit.edu.cn/apache/hbase/hbase-0...
分类:
其他好文 时间:
2014-10-08 01:23:44
阅读次数:
279