题目链接 Problem Description There are n points on the plane, and the ith points has a value vali, and its coordinate is (xi,yi). It is guaranteed that no ...
分类:
其他好文 时间:
2017-08-15 21:48:04
阅读次数:
334
Bran and his older sister Arya are from the same house. Bran like candies so much, so Arya is going to give him some Candies. At first, Arya and Bran ...
分类:
其他好文 时间:
2017-08-15 15:07:55
阅读次数:
133
js的数组操作有很多,这里记录了常用的和不常用的数组操作方法。 一、数组的创建 数组的创建有两种方法,一种是通过字面量,另一种是通过Array构造函数。 1.字面量 值得注意的是,利用字面量创建数组时,不可在最后一个数组元素添加“,”,因为在老版本的浏览器中,会出现bug。如下面的例子,在num2中 ...
分类:
编程语言 时间:
2017-08-14 21:24:36
阅读次数:
227
InnoTop是一个系统活动报告,类似于Linux性能工具,它与Linux的top命令相仿,并参考mytop工具而设计.它专门用后监控InnoDB性能和MySQL服务器.主要用于监控事务,死锁,外键,查询活动,复制活动,系统变量的主要统计信息及主机的其他详情。InnoTop被广泛使用,并被当做常用性 ...
分类:
数据库 时间:
2017-08-14 16:32:28
阅读次数:
234
原文:http://www.cnblogs.com/no27/p/4849123.html 一、创建服务 1、文件-》新建-》项目-》windows桌面-》windows服务,修改你要的项目名称。我这不改名,仍叫WindowsService1,确定。 2、其中的Program.cs文件是入口,Ser ...
运行结果: 改变a、b的值 a = [100, 99, 98, 1, 2, 3] + [(i+2)*(i+7) for i in range(6)] b = [1, 2, 3, 4, 5, 40] + [(i+2)**2 for i in range(6)] 运行结果: ...
分类:
编程语言 时间:
2017-08-14 10:12:05
阅读次数:
317
No great discovery was ever made without a bold guess. 没有大胆的猜测就没有伟大的发现。 I've read this sentence just several years before, now I still have some more ...
分类:
其他好文 时间:
2017-08-14 01:33:17
阅读次数:
136
count方法:统计某个元素在列表中的出现的次数 b=a.count('四')统计元素四在列表a中出现的次数并把次数赋给b print(b) extend方法:在列表的末尾一次性追加另一个序列中的多个值 a.extend(b)把列表b赋给列表a b列表中的元素在列表a的最后 print(a) ind ...
分类:
其他好文 时间:
2017-08-13 12:26:28
阅读次数:
113
Hello Kiki Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 4206 Accepted Submission(s): 1616 Pro ...
分类:
其他好文 时间:
2017-08-12 22:52:14
阅读次数:
280
问题:程序实现将que[i]添加到que2最后,再将que2反转输出。 例如: 输入 4 1 2 3 4 输出 4 2 1 3 #include<iostream> #include<vector> using namespace std; int main() { int i=0; int n; ...
分类:
编程语言 时间:
2017-08-12 18:13:06
阅读次数:
1244