Given an array of integers, every element appears three times except for one. Find that single one.Note:Your algorithm should have a linear runtime co...
分类:
其他好文 时间:
2014-06-28 13:44:09
阅读次数:
188
One of my Ubuntu systems would pop up the following message multiple times after logging in:System program problem detectedDo you want to report the p...
分类:
其他好文 时间:
2014-06-24 10:18:19
阅读次数:
360
证明:显然乘积空间$X \times Y$按范数$\left\| {\left( {x,y} \right)} \right\| = \sqrt {{{\left\| x \right\|}^2} + {{\left\| y \right\|}^2}} $成为赋范线性空间,且容易证明它是完备的.接下...
分类:
其他好文 时间:
2014-06-18 22:39:21
阅读次数:
258
1 #include "iostream" 2 #include "windows.h" 3 #include "cstring" 4 using namespace std; 5 6 7 static int g_nIndex=0; 8 const int MAX_TIMES=10; 9 s...
在UC落入阿里之口之后,开始感概这个时代已经变了,不再是一个天堂了,这已然是一个巨人的时代,一个寡头的时代(Buy Times)。寡头时代带来的恐惧用户信息的记录我不是一个创业者,谁占领了市场对于我来说我是无所谓的。过去的日子里,在互联网上泄露了太多的个人信息,有些是被收集者,如学校、机构等,而后公开在网上的。(ps:这些无良的组织机构)在互联网时代,我们的信息之中多是一些简单的个人资料,也许还包...
分类:
其他好文 时间:
2014-06-17 22:10:34
阅读次数:
248
使用的是:+PrintGCDetails
-XX:+PrintGCTimeStamps输出的日志格式: [Times: user=0.03 sys=0.00, real=0.01
secs]363.375: [GC 363.375: [ParNew: 39424K->3249K(39424K), 0...
分类:
其他好文 时间:
2014-06-12 22:38:15
阅读次数:
347
Given an array of integers, every element
appears three times except for one. Find that single one.Note: Your algorithm
should have a linear runtime c...
分类:
其他好文 时间:
2014-06-10 20:42:48
阅读次数:
315
1 class Solution { 2 public: 3 int
singleNumber(int A[], int n) { 4 int bits = sizeof(int)*8; 5 int result=0; 6
for(int i...
分类:
移动开发 时间:
2014-06-10 19:45:48
阅读次数:
334
psutil是python的一个用于获取cpu信息的模块,非常好使,以下附上官方的一些example:
CPU-> Examples>>> import psutil>>>
psutil.cpu_times()scputimes(user=3961.46, nice=169.729, syst...
分类:
其他好文 时间:
2014-06-09 19:36:32
阅读次数:
418
Crixalis's Equipment
Time Limit : 2000/1000ms (Java/Other) Memory Limit : 32768/32768K (Java/Other)
Total Submission(s) : 34 Accepted Submission(s) : 14
Font: Times New Roman | Verdana | Georgi...
分类:
其他好文 时间:
2014-06-08 04:37:14
阅读次数:
263