1.给Eclipse安装PyDev插件 第一次启动会让选择一个工作空间,按缺省设置,勾选一下不再提醒,就可以了。在Help菜单中,选择Install New Software···, 选择Add按钮, Name:PyDev(自己随便命名一个) Location:http://pydev.org/up ...
分类:
编程语言 时间:
2016-09-22 23:46:05
阅读次数:
162
1、POJ 1564 Sum It Up 2、总结: 题意:在n个数里输出所有相加为t的情况。 #include<iostream> #include<cstring> #include<cmath> #include<queue> #include<algorithm> #include<cstd ...
分类:
其他好文 时间:
2016-09-22 21:11:57
阅读次数:
154
链接:http://vjudge.net/problem/UVA-11093 分析:模拟,枚举起点(0~n-1),假定从某一起点s出发,途中遇到了某个加油站p,在从它开到加油站p+1时油没了,这样以s+1,s+2,...,p为起点的一定不是解,直接将起点跳到p+1开始枚举,时间复杂度为O(n)。 ...
分类:
其他好文 时间:
2016-09-22 14:32:07
阅读次数:
158
Given a binary tree where all the right nodes are either leaf nodes with a sibling (a left node that shares the same parent node) or empty, flip it up ...
分类:
其他好文 时间:
2016-09-22 06:35:56
阅读次数:
130
问题: Given an array of integers, return indices of the two numbers such that they add up to a specific target.You may assume that each input would have ...
分类:
其他好文 时间:
2016-09-22 01:07:19
阅读次数:
169
CentOS6.5的openssl升级:(修复心脏漏血漏洞) [root@linux1 ~]# rpm -qi openssl|grep VersionVersion : 1.0.1e Vendor: CentOS openssl升级:OpenSSL 需要更新至1.0.2g或1.0.1syum up ...
分类:
其他好文 时间:
2016-09-21 23:09:48
阅读次数:
303
2016年9月20日 星期二 --出埃及记 Exodus 17:16He said, "For hands were lifted up to the throne of the LORD. The LORD will be at war against the Amalekites from ge ...
分类:
其他好文 时间:
2016-09-20 12:09:12
阅读次数:
88
1. 使用sql server task中back up 任务,保存为*.bak 文件。 2. 在另一个server中restore database,如果已经存在这个database,会覆盖之前的数据。如果不存在,会创建一个同名数据库。 期间出现的问题: 登录用户失去访问权限,使用以下命令: Al ...
分类:
数据库 时间:
2016-09-19 11:38:42
阅读次数:
173
[carlton@oc3408554812 Desktop]$ top top - 09:35:06 up 32 min, 2 users, load average: 1.49, 1.56, 1.32Tasks: 290 total, 1 running, 287 sleeping, 0 stop ...
分类:
系统相关 时间:
2016-09-19 10:13:06
阅读次数:
211
Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in place. click to show follow up. Follow up: Did you use extra sp ...
分类:
其他好文 时间:
2016-09-19 06:47:47
阅读次数:
141