码迷,mamicode.com
首页 >  
搜索关键字:network namespace    ( 53294个结果)
C++ 操作符函数
Point.h /*  * Point.h  *  *  Created on: 2014年5月22日  *      Author: John  */ #include using namespace std; #ifndef POINT_H_ #define POINT_H_ class Point { private: int x; int y; ...
分类:编程语言   时间:2014-05-26 03:19:07    阅读次数:399
uva11461Square Numbers
简单数论题。区间减法。 1 //Accepted 0 KB 9 ms 2 #include 3 #include 4 using namespace std; 5 const int MAXN = 100005; 6 int f[MAXN]; 7 void pre() 8 { 9 ...
分类:其他好文   时间:2014-05-26 02:54:57    阅读次数:278
Queue1
1 #include 2 using namespace std; 3 //#define maxSize 20 4 template 5 class Queue 6 { 7 private : 8 // T data[maxSize]; 9 int maxSize;10 ...
分类:其他好文   时间:2014-05-26 02:50:09    阅读次数:267
第九周编程作业
A:list总时间限制:4000ms内存限制:65536kB描写叙述写一个程序完毕下面命令:new id ——新建一个指定编号为id的序列(id#include #include #include using namespace std;typedef map > Map;int main(){ i...
分类:其他好文   时间:2014-05-26 02:26:51    阅读次数:337
poj 2965
题意 : 4*4的+,-组成 每次能翻转一个点所在的行与列 求最小的翻转次数 使得矩阵全为-思路:暴力枚举#includeusing namespace std;int map[5][5];int b;int n;int rsult[22];void slip(int i,int s[][4])//...
分类:其他好文   时间:2014-05-26 02:20:04    阅读次数:320
Queue2
1 #include 2 using namespace std; 3 template 4 class Queue 5 { 6 private: 7 struct node 8 { 9 T data;10 node * next;11 ...
分类:其他好文   时间:2014-05-26 02:19:36    阅读次数:213
字符串相似度计算的方法,使用SQL以及C#实现,本文非原创摘自网络(.NET SQL技术交流群入群206656202需注明博客园)
1 using System; 2 using System.Collections.Generic; 3 using System.Text; 4 5 namespace ConsoleApplication6 6 { 7 class semblance 8 { 9 10 ...
分类:数据库   时间:2014-05-26 02:11:57    阅读次数:486
线段交点模版
http://acm.hdu.edu.cn/showproblem.php?pid=1086跨立实验算法#include#include#include#includeusing namespace std;struct Point{ double x,y;} ;struct Line{ ...
分类:其他好文   时间:2014-05-26 02:10:52    阅读次数:224
POJ - 1077 Eight
题意:经典八数码问题 思路:HASH+BFS#include #include #include #include using namespace std; const int MAXN = 500000; const int size = 1000003; typedef int State[9]; char str[30]; int state[9],goal[9]={1, 2, ...
分类:其他好文   时间:2014-05-24 21:46:23    阅读次数:359
android studio 初学
图片有问题,印象笔记的链接: http://app.yinxiang.com/shard/s5/sh/e2ec3ece-55fc-42d6-942d-9359cdf965e7/9543bdfad422ac8a8a2e5fa91e572a89 环境搭建: 1.官网下载android studio:http://developer.android.com/sdk/installing/studi...
分类:移动开发   时间:2014-05-24 18:11:17    阅读次数:427
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!