码迷,mamicode.com
首页 >  
搜索关键字:network namespace    ( 53294个结果)
hdu 3635 Dragon Balls
http://acm.hdu.edu.cn/showproblem.php?pid=3635 1 #include 2 #include 3 #include 4 #define maxn 20000 5 using namespace std; 6 7 int f[maxn]; 8 int...
分类:其他好文   时间:2014-05-08 12:01:26    阅读次数:350
solaris如何启动ssh服务
先查看一下ssh服务状态:# svcs或# svcs | grep sshonline Aug_07 svc:/network/ssh:default 如需要关闭ssh服务(关闭完可以 svcs | grep ssh 查看一下状态):# svcadm disable svc:/n...
分类:其他好文   时间:2014-05-08 11:30:53    阅读次数:443
hdu 3047 Zjnu Stadium
http://acm.hdu.edu.cn/showproblem.php?pid=3047带权并差集 1 #include 2 #include 3 #include 4 #define maxn 60000 5 using namespace std; 6 7 int f[maxn],d...
分类:其他好文   时间:2014-05-08 10:37:28    阅读次数:287
NOI2007项链工厂——sbTreap代码
1 2 #include 3 #include 4 #include 5 #include 6 #include 7 8 using namespace std; 9 struct node 10 { 11 int data; 12 int le...
分类:其他好文   时间:2014-05-08 10:31:35    阅读次数:362
hdu 1213 How Many Tables
http://acm.hdu.edu.cn/showproblem.php?pid=1213 1 #include 2 #include 3 #include 4 #define maxn 2000 5 using namespace std; 6 7 int f[maxn],n,m; 8 ...
分类:其他好文   时间:2014-05-08 10:10:44    阅读次数:308
const
#include#includeusing namespace std;int main(){ const int N=100; int const N=100; //二者等价 int mark=0; //1 int* ref_mark=&mark; int* c...
分类:其他好文   时间:2014-05-08 10:02:04    阅读次数:205
十一周 项目4 类族的设计
#include #include using namespace std; class Point { public: Point(double x=0,double y=0); void setPoint(double,double); double getx() { return x; } double gety() ...
分类:其他好文   时间:2014-05-08 04:44:47    阅读次数:237
链队列的C++实现
#include using namespace std; //节点类 template struct QNode { T data; QNode *next; }; //队列类 template struct LinkList { QNode * front; QNode * rear; size_t size; }; //构造一个空队列 template void InitQueu...
分类:编程语言   时间:2014-05-08 03:48:19    阅读次数:346
十一周 项目4 类族的设计 完整版
#include #include using namespace std; class Point { public: Point(double x=0,double y=0); void setPoint(double,double); double getx() { return x; } double gety() ...
分类:其他好文   时间:2014-05-08 03:42:17    阅读次数:273
poj 2559 DP
两种解法。 我想到的是最大的矩形,中间一定有个最矮的某个单位矩形,所以用两个数组记录任何一个单位矩形histogram[i]左右两边第一个比它小的单位矩形的序号,这里找的时候用DP加速。 #include using namespace std; //the histogram stored from left to right long histogram[100001]...
分类:其他好文   时间:2014-05-08 01:59:37    阅读次数:443
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!