安装pip#ubuntusudoapt-getinstallpython3-pip#CentOS7forPython2.xyuminstallpython-setuptools#CentOS7forPython3.xyuminstallpython34-setuptoolseasy_installpip如果嫌慢,手动下载源码包安装wgethttps://pypi.python.org/packages/11/b6/abcb525026a4be042b486df43905d689..
分类:
Web程序 时间:
2016-12-07 23:55:45
阅读次数:
3139
题目链接:https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=4126 $LRJ$紫书例题$9-26$ 题目大意: 给定一颗树 有些边已经标好方向 现在要给其余 ...
分类:
其他好文 时间:
2016-12-07 23:12:04
阅读次数:
220
题目:http://poj.org/problem?id=1417 题意:输入三个数m, p, q 分别表示接下来的输入行数,天使数目,恶魔数目; 接下来m行输入形如x, y, ch,ch为yes表示x说y是天使,ch为no表示x说y不是天使(x, y为天使,恶魔的编号,1<=x,y<=p+q);天 ...
分类:
其他好文 时间:
2016-12-07 23:00:32
阅读次数:
269
传送门:http://poj.org/problem?id=3279 Fliptile Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 8322 Accepted: 3102 Description Farmer John kno ...
分类:
其他好文 时间:
2016-12-07 20:56:08
阅读次数:
266
今天看到文章讨论 i++ 是不是原子操作。 答案是不是! 参考:http://blog.csdn.net/yeyuangen/article/details/19612795 1.i++ 不是,分为三个阶段: 内存到寄存器寄存器自增写回内存这三个阶段中间都可以被中断分离开. 2.++i首先要看编译器 ...
分类:
其他好文 时间:
2016-12-07 20:49:45
阅读次数:
240
ssh项目启动报错: org.dom4j.DocumentException: Connection timed out: connect Nested exception: Connection timed out: connect 一开始以为是数据库连接的事,后来发现是hibernate在实体对 ...
分类:
其他好文 时间:
2016-12-07 20:46:20
阅读次数:
148
http://poj.org/problem?id=1979 Description There is a rectangular room, covered with square tiles. Each tile is colored either red or black. A man is ...
分类:
其他好文 时间:
2016-12-07 20:03:53
阅读次数:
304
1.首先需要安装好java,并配置好环境变量 2.下载elasticsearch的rpm包,命令如下: wget https://download.elastic.co/elasticsearch/release/org/elasticsearch/distribution/rpm/elastics ...
分类:
其他好文 时间:
2016-12-07 16:38:04
阅读次数:
225
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> < ...
分类:
Web程序 时间:
2016-12-07 16:31:49
阅读次数:
180