首先是服务器的设置:[root@localhost 桌面]# yum install scsi-target-* -y 安装服务 配置yum的方法太简单了,我就不写了[root@localhost 桌面]# /etc/init.d/tgtd restart 重启服务[root@www yum.rep
分类:
其他好文 时间:
2016-03-01 18:38:21
阅读次数:
214
css指层叠样式表(CascadingStyleSheets),样式定义如何显示HTML元素,样式通常存储在样式表中css常用属性背景:background-color:#F5E2EC;/*背景颜色*/background:transparent;/*透视背景*/background-p_w_picpath:url(/p_w_picpath/bg.gif);/*背景图片*/background-repeat:rep..
分类:
Web程序 时间:
2016-02-19 17:24:14
阅读次数:
203
第一道splay,算是学会了最最基础的splay操作。 有一点要特别注意,就是一字型旋转的时候要先旋转y再旋x,这样复杂度降低很多。。。不要写成两次都旋转x。。。 #include<bits/stdc++.h> #define REP(i,a,b) for(int i=a;i<=b;i++) #de
分类:
其他好文 时间:
2016-02-18 13:30:46
阅读次数:
203
2016年2月16日,最新163源变更后的更新方法: 访问地址为:http://mirrors.163.com/.help/centos.html 首先备份源: mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.rep
分类:
其他好文 时间:
2016-02-16 21:56:04
阅读次数:
144
1 #include<cstdio> 2 #include<iostream> 3 #include<cstring> 4 #include<queue> 5 #define inf 102333 6 #define rep(i,j,k) for(register int i = j; i <= k
分类:
其他好文 时间:
2016-02-14 23:32:11
阅读次数:
252
一套矩阵库,主要实现功能有求特征值&特征向量,求合同标准型。 定义了实矩阵,多项式,多项式矩阵,向量四个类 注释比较详尽 /* Copyright © 2016 by dhd All Right Reserved. */ #include<bits/stdc++.h> #define rep(i,
分类:
其他好文 时间:
2016-02-14 22:09:27
阅读次数:
255
支持多重边,按字典序输出。 #include<bits/stdc++.h> #define REP(i,a,b) for(int i=a;i<=b;i++) #define MS0(a) memset(a,0,sizeof(a)) using namespace std; typedef long
分类:
编程语言 时间:
2016-02-13 17:08:13
阅读次数:
243
#include<bits/stdc++.h> #define REP(i,a,b) for(int i=a;i<=b;i++) #define MS0(a) memset(a,0,sizeof(a)) using namespace std; typedef long long ll; const
分类:
其他好文 时间:
2016-02-10 21:05:05
阅读次数:
195
这个题。。。 1 #include <bits/stdc++.h> 2 #define rep(i, a, b) for (int i = a; i <= b; i++) 3 #define drep(i, a, b) for (int i = a; i >= b; i--) 4 #define R
分类:
其他好文 时间:
2016-02-06 01:49:47
阅读次数:
254
用可持久化线段树维护可持久化并查集。 调了一下午,改为按秩合并就过了。。。 #include<bits/stdc++.h> #define REP(i,a,b) for(int i=a;i<=b;i++) #define MS0(a) memset(a,0,sizeof(a)) using name
分类:
其他好文 时间:
2016-02-05 00:58:07
阅读次数:
226