码迷,mamicode.com
首页 >  
搜索关键字:using password: yes    ( 53562个结果
约瑟夫环 c++ 循环输入
#include#include#include#include using namespace std;template class joseph{ struct node { T data; node * next; node():next(...
分类:编程语言   时间:2014-05-26 13:58:27    阅读次数:215
GDI绘图写的简单扫雷
由于没话多少时间,这个扫雷我只实现了主要功能(扫雷功能,递归实现)废话不多说,直接上代码using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.D...
分类:其他好文   时间:2014-05-26 13:57:23    阅读次数:305
zoj3675 BFS+状态压缩
#include #include #include using namespace std;int n;int vis[10000000];int mode1,mode2;struct node{ int step,status;};void print(int x){ int tmp...
分类:其他好文   时间:2014-05-26 13:50:43    阅读次数:262
【HDOJ】1983 Kaitou Kid - The Phantom Thief (2)
不仅仅是DFS,还需要考虑可以走到终点。同时,需要进行预处理。至多封闭点数为起点和终点的非墙壁点的最小值。 1 #include 2 #include 3 #include 4 #include 5 #include 6 using namespace std; 7 8 ...
分类:其他好文   时间:2014-05-26 13:29:22    阅读次数:286
HAOI2006(BZOJ1050) 旅行comf
Description给你一个无向图,N(N#include#includeconst int N = 510;const int M = 5010;const int Maxint = 2147483647;using namespace std;#define For(i,n) for(int ...
分类:其他好文   时间:2014-05-26 13:09:03    阅读次数:206
在一般处理程序里写一个简单验证码
QQ:675556820代码不多,直接粘贴了。using System;using System.Web;using System.Drawing;public class 验证码 : IHttpHandler{ public void ProcessRequest(HttpContext c...
分类:其他好文   时间:2014-05-26 13:01:08    阅读次数:183
C++ Input Output
C++的IO比较复杂,记录一下碰到的问题:#include "stdafx.h"#include using namespace std;int main(int argc, char* argv[]){ cout << 22/5*3 << endl; printf("Hello Wor...
分类:编程语言   时间:2014-05-26 12:42:11    阅读次数:290
poj2398Toy Storage
同poj2318! 1 //Accepted 220 KB 0 ms 2 #include 3 #include 4 #include 5 using namespace std; 6 const int MAXN = 1005; 7 struct node 8 {...
分类:其他好文   时间:2014-05-26 12:39:06    阅读次数:242
FindSmallestPolygon
// smallest_enclosing_polygon.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#define PI 3.1415926535#include using namespace std;bool IsZero(double value).....
分类:其他好文   时间:2014-05-26 12:36:52    阅读次数:297
C++运算符重载
好吧 虽然很晚了 已经1:30分了 看我能熬到什么时候把 该死的心里作业.......运算符重载呢 实质上就是函数重载 这里 我们不讲那么又臭又长的各种定义 直接上代码 PS:可能我讲的很无头绪 见谅....... 1 #include 2 using namespace std; 3 4 cl.....
分类:编程语言   时间:2014-05-26 12:18:17    阅读次数:298
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!