1. 标准类型 Integer,Boolean, Long integer, Floating
point real number, Complex number, String, List, Tuple, Dictionary 其他内建类型: 类型,
Null对象(None) 文件,集合,函数.....
分类:
其他好文 时间:
2014-05-10 00:20:30
阅读次数:
336
1.for循环语句:for loop_counter in [REVERSE]
lowest_number .. highest_numberloop {.statements.}end loop;示例:declare v_i
number(4) := 0;begin for v_i in 0...
分类:
其他好文 时间:
2014-05-10 00:19:58
阅读次数:
396
我的那个暴力求解,太耗时间了。用了网上产的什么因式分解,质因数之类的。确实快!还是数学基础不行,只能知道大约。The
sequence of triangle numbers is generated by adding the natural numbers. So the
7th triangl...
分类:
其他好文 时间:
2014-05-09 23:43:16
阅读次数:
342
SELECT * FROM ( SELECT ROW_NUMBER() OVER(ORDER BY
ca.PraiseNum desc) as RowID ,ca.[ArticleId] ...
分类:
其他好文 时间:
2014-05-09 13:17:14
阅读次数:
409
/*日期转YYYYMMDD*/formDate.fullYear+""+(formDate.month
_fromYear){manyAllDayNum = Number(alreadyOverDay(fromFormatDayStr)[1]) +
Number(alreadyOverDay(toF...
分类:
其他好文 时间:
2014-05-09 12:56:06
阅读次数:
288
Twemproxy is a proxy server that allows you to reduce the number of open connections
to yourMemcached or Redis server.
What is Twemproxy useful for? It can
reduce the number of connections t...
分类:
其他好文 时间:
2014-05-09 06:30:25
阅读次数:
258
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1711题目意思:给出一条有n个数的序列a[1],a[2],......,a[n],和一条有m
个数的序列b[1],b[2],......,b[m],求出b[1],b[2],...,b[m]在序列a中完全匹...
分类:
其他好文 时间:
2014-05-09 05:53:04
阅读次数:
268
1. Write a procedure count-list to count the
number of elements in a list1 (defun count-list (numbers)2 (if (null numbers) 03
(+ 1 (co...
分类:
其他好文 时间:
2014-05-09 05:41:41
阅读次数:
307
Musical Theme
Time Limit: 1000MS
Memory Limit: 30000K
Total Submissions: 17298
Accepted: 5939
Description
A musical melody is represented as a sequence of N (1<=N<=20...
分类:
其他好文 时间:
2014-05-09 02:46:57
阅读次数:
375
题意:求长度不超过K的最大的连续序列的和
思路:采用单调队列,我们要求的是Max{sum[i]-sum[j]}(i-j#include
#include
#include
#include
using namespace std;
const int MAXN = 1000005;
const int INF = 0x3f3f3f3f;
int n,k;
int arr[MAXN],s...
分类:
其他好文 时间:
2014-05-09 01:57:07
阅读次数:
264