#include#include#include#include#includeusing
namespace std;class node{public: int val; node* left; node* right;
node():val(0),left(NULL),...
分类:
其他好文 时间:
2014-05-26 21:36:49
阅读次数:
264
A university network is composed of N computers.
System administrators gathered information on the traffic between nodes, and
carefully divided the ne...
分类:
其他好文 时间:
2014-05-26 21:07:48
阅读次数:
329
#includeusing namespace std;int begin[9][9];bool
check(int x,int y,int k){ for(int i=0;i>t; while(t--) { for(int
i=0;i>begin[i][j]; ...
分类:
其他好文 时间:
2014-05-26 21:05:25
阅读次数:
189
1.下载log4net.dll2.将组件添加引用到项目中3.项目里新建一个配置文件Log4Net.config,删除自动生成的代码,Copy下列代码到该文件.
4.在程序类里面加入(注意是在namespace上面加)[assembly: log4net.C...
分类:
Web程序 时间:
2014-05-26 20:57:34
阅读次数:
363
字母图形#include #include #include #include
#include #include #include using namespace std;int main(){int n, m;scanf("%d%d",
&n, &m);for(int i = 1; i <= n...
分类:
其他好文 时间:
2014-05-26 20:41:43
阅读次数:
232
#include#include#include#include#include#includeusing
namespace std;class node{public: int val; node* left; node* right;
node():val(0),lef...
分类:
其他好文 时间:
2014-05-26 16:14:18
阅读次数:
280
###
NamespacesDocker利用命名域来提供隔离的集装箱.会提供很多命名域给集装箱.* The pid namespace:Used for process
numbering (PID: Process ID)* The net namespace:Used for managing ...
分类:
其他好文 时间:
2014-05-26 15:50:55
阅读次数:
401
感觉线段树一直学的不好,从开始学到现在换了很多风格,模板其实不是问题,关键是还是思路吧。从水题,开始再来一遍。HDU 1166 敌兵步阵#include
#include #include #include #include #include #include using namespace std...
分类:
其他好文 时间:
2014-05-26 14:53:17
阅读次数:
320
无聊写了个单链表排序,不是很难。但是插入写起来很麻烦,都没有,本文全部是将链表中节点值互换,不改变结构,所以很容易写出来 #includeusing
namespace std;struct node{ int n; struct node* next;};//创建链表void swap(int
&...
分类:
其他好文 时间:
2014-05-26 14:52:14
阅读次数:
227
#include#include#include#include#include#include#includeusing
namespace std;class node{public: int val; node* left; node* right; node():va...
分类:
其他好文 时间:
2014-05-26 14:49:14
阅读次数:
247