参考:http://blog.csdn.net/dbaxiaosa/article/details/22421969master配置:[mysqld]datadir=/var/lib/mysqlsocket=/var/lib/mysql/mysql.sockuser=mysql#Disablingsymbolic-linksisrecommendedtopreventassortedsecurityriskssymbolic-links=0default-time-zone=‘+8:00‘inno..
分类:
数据库 时间:
2015-04-29 11:58:10
阅读次数:
222
问题当我运行mininet时,出现以下问题:
***Creating network
***Adding controller
***Adding hosts:
h1 h2 h3 h4 h5
***Adding switches:
s1
***Adding links:
(h1, s1) (h2, s1) (h3, s1) (h4, s1) (...
分类:
Web程序 时间:
2015-04-24 16:26:03
阅读次数:
269
题目链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3209dancing links 每个点作为一列。每个块作为一行。不知道为什么插节点的时候 如果把循环写成for(int i = y1+1; i 2 #inclu.....
分类:
其他好文 时间:
2015-04-24 06:36:07
阅读次数:
114
题目链接:http://poj.org/problem?id=2676数独问题。用dancing links解决。建图参考http://wenku.baidu.com/link?url=3Tk5gVYew3mSQ2f2LxDODxPg3v-yqJPUaEkuZpfkHTxfSPQuM_n8TGl2S...
分类:
其他好文 时间:
2015-04-23 23:18:15
阅读次数:
266
题目链接:http://poj.org/problem?id=3740dancing links 入门题 1 #include 2 #include 3 #include 4 #include 5 #include 6 using namespace std; 7 int M...
分类:
其他好文 时间:
2015-04-23 23:06:23
阅读次数:
148
什么是Database Links呢? 首先我们阐述下它的作用:使用户可以通过一个数据库访问到另外一个远程数据库。 那么Database Link是存储着远程数据库的连接信息。 如下图所示: 用户Scott可以在本地数据库上查询远程数据库的emp表,我们可以在我们的本地数据库上建立一个别名(Syno...
分类:
数据库 时间:
2015-04-15 23:06:32
阅读次数:
155
Treasure MapTime Limit:2000MSMemory Limit:32768KB64bit IO Format:%lld & %lluSubmitStatusPracticeZOJ 3209Appoint description:DescriptionYour boss once ...
分类:
其他好文 时间:
2015-04-09 19:12:52
阅读次数:
170
ln是linux中一个非常重要的命令。她的功能是为某个文件在另外一个位置建立一个同步的链接,这个命令最常用的 参数是-s.具体用法是 :ln -s 源文件 目标文件-s是symbolic的意思。当我们需要在不同目录用到相同的文件,我们不需要在每一个需要的目录下都放一个相同的文件,我们只要在某个固定的...
分类:
其他好文 时间:
2015-04-09 15:19:28
阅读次数:
120
Ryu拓扑发现的核心模块是ryu/topology目录下的switches.py,拓扑发现的应用是同目录下的dumper.py。在dumper.py中,会利用_CONTEXTS来实例化switches.py中的Switches类,然后将拓扑发现的相关信息通过日志方式(LOG.debug)显示。启动命令如下所示:
ryu-manager --verbose --observe-links ry...
分类:
其他好文 时间:
2015-04-08 16:35:47
阅读次数:
321
题目:Given a constant K and a singly linked list L, you are supposed to reverse the links of every K elements on L. For example, given L being 1→2→3→4→5...
分类:
其他好文 时间:
2015-04-05 11:50:33
阅读次数:
135