var IS_NULL = 128; // 10000000var IS_FULL = 64;
// 01000000var IS_HALF = 32; // 00100000var IS_ASCII = 16; // 00010000var IS_NUM
= 8; // 00001000var I...
分类:
Web程序 时间:
2014-04-30 05:16:15
阅读次数:
571
1. 整函数 (entire function)(1) 定义: 若 $f$ 在 $\bbC$ 上解析,
则称 $f$ 为整函数.(2) 性质: $\dps{f(z)=\sum_{n=0}^\infty c_nz^n,\ 0\leq
|z|<\infty}$.(3) 例: $f(z)=e^z,\sin...
分类:
其他好文 时间:
2014-04-30 04:37:01
阅读次数:
366
题目: Given an array of integers, find two numbers
such that they add up to a specific target number. The function twoSum should
return indices of the t...
分类:
其他好文 时间:
2014-04-30 03:20:07
阅读次数:
502
上周被android交叉编译搞惨了,还好最后弄好了,写个小结以后备用吧。
步骤,1、下载cygwin的devel和shells模块 2、 2、设置环境变量 a、设置NDK_ROOT b、设置Path
编辑Path,在后面追加4个环境...
分类:
移动开发 时间:
2014-04-30 01:02:38
阅读次数:
626
Given an arraySofnintegers, are there
elementsa,b,c, anddinSsuch thata+b+c+d= target? Find all unique quadruplets in
the array which gives the sum of ...
分类:
其他好文 时间:
2014-04-29 22:40:00
阅读次数:
438
题意:求N!中末尾0的个数 其实就是5的个数 因为2*5=10
肯定n中2的个数比5的个数多#includeusing namespace std;int main(){ int n; int t,d; int sum;
scanf("%d",&t); while(t...
分类:
其他好文 时间:
2014-04-29 21:09:41
阅读次数:
346
1、安装httpd软件包:Yum install
httpd2、启动apache服务:[root@redhat Desktop]# /etc/init.d/httpd startStarting httpd:
[ OK ]3、安装mod-ssl软件包[root@redhat Desktop]# yu...
分类:
其他好文 时间:
2014-04-29 20:50:11
阅读次数:
431
典型的快速幂成应用题意:求x 使得x^e%n=num#includeusing namespace
std;bool funtion(int x,int e,int n,int num){// m^n % k int b = 1; while (e >
0) { i...
分类:
其他好文 时间:
2014-04-29 20:20:25
阅读次数:
414
统计SQL执行时间和次数的语句:SELECT top 50qt.text AS
SQL_text ,SUM(qs.total_worker_time) AS total_cpu_time,SUM(qs.execution_count) AS
total_execution_count,SUM(qs....
分类:
数据库 时间:
2014-04-28 11:14:38
阅读次数:
640
Given two binary strings, return their sum
(also a binary string).For example,a ="11"b
="1"Return"100".给定两个二进制的字符串,返回他们的和。对于a,b两个二进制字符串,首先通过交换使a的长度小于b...
分类:
其他好文 时间:
2014-04-28 02:05:20
阅读次数:
502