码迷,mamicode.com
首页 >  
搜索关键字:network namespace    ( 53294个结果)
hdu 4825 Xor Sum(字典树)
题目链接:hdu 4825 Xor Sum 题目大意:中文题。 解题思路:将给定得数按照二进制建成一颗字典树,每一层分别对应的各个位数上的01状态。然后每一次查询,如果对应位置为0,则要往1的方向走,如果是1,则要往0的方向走。但是要注意,走的前提是对应分支是存在的。 #include #include #include using namespace std; //type...
分类:其他好文   时间:2014-05-23 02:15:15    阅读次数:286
网络天然是大数据的,大数据天然是网络的
The network is naturally bigdataing, while bigdata is inherently networking. --yeasy@blog 用英文表达似乎更加准确一些。 计算机科学发展了半个世纪,而网络的出现极大推动了计算机相关技术的爆发式进步。 计算机或网络领域所研究的典型问题,往往都是追求高性能、精确、准确,而大数据技术则往往提供一...
分类:其他好文   时间:2014-05-23 00:25:05    阅读次数:285
hdu 4826 Labyrinth(dp)
题目链接:hdu 4826 Labyrinth 题目大意:中文题。 解题思路:不难想的递推,dp[i][j][0]从上面过来的情况,dp[i][j][1]从下面过来的情况,然后这两种情况都可以从前一列走过来。 #include #include #include using namespace std; const int N = 105; const int INF = 0...
分类:其他好文   时间:2014-05-22 22:42:28    阅读次数:350
工资类
#include using namespace std; class Salary//工资类 { public: void set_salarys( );//设置工资 void add_salarys(int x);//增加工资 void sort_salarys();//根据工资由大到小排序 void show_salarys( );//显示工人...
分类:其他好文   时间:2014-05-22 17:33:38    阅读次数:312
S1 商品信息管理系统
#include #include #include #include #include using namespace std; //void welcome();//欢迎界面 void display(int);//输出信息 int size=0; class Product { public: void addProduct(); void queryById();...
分类:其他好文   时间:2014-05-22 17:00:21    阅读次数:250
使用构造函数初始化三角形类
方法1:使用带参数构造函数,即Triangle(double x, double y, double z),三边长在调用时由实参直接给出#include #include using namespace std; class Triangle { public: //带参构造函数 Triangle(double x, double y, double z); double peri...
分类:其他好文   时间:2014-05-22 16:59:45    阅读次数:169
删除string里面的指定字符
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 #include  #include    using namespace std;   int main() {     ...
分类:其他好文   时间:2014-05-22 16:57:45    阅读次数:202
Network | 协议栈
因特网协议栈Internet protocol stack:应用层Application layer、运输层Transport layer、网络层Network layer、链路层Data link layer、物理层Physical layer7层ISO OSI参考模型:应用层、表示层Presen...
分类:Web程序   时间:2014-05-22 15:21:38    阅读次数:312
KMP字符串匹配
1 #include 2 3 4 using namespace std; 5 6 #define MAX 255 7 8 typedef unsigned char BYTE; 9 10 typedef BYTE String[MAX+1]; 11 12 bo...
分类:其他好文   时间:2014-05-22 15:10:06    阅读次数:278
QuickSort
1 #include 2 3 4 using namespace std; 5 6 void Repeat(int* a,int Left,int Right); 7 int QuickSort(int* a,int Left,int Right); 8 9 10 void main()1...
分类:其他好文   时间:2014-05-22 14:53:10    阅读次数:224
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!