#include #include #include #include #include
"math.h"#include #define MAXN 300using namespace std;int input[MAXN*2];stack
m_stack;int main(){ int N...
分类:
其他好文 时间:
2014-05-26 12:39:49
阅读次数:
188
同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
// 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
好吧 虽然很晚了 已经1:30分了 看我能熬到什么时候把
该死的心里作业.......运算符重载呢 实质上就是函数重载 这里 我们不讲那么又臭又长的各种定义 直接上代码 PS:可能我讲的很无头绪 见谅....... 1
#include 2 using namespace std; 3 4 cl.....
分类:
编程语言 时间:
2014-05-26 12:18:17
阅读次数:
298
会记下所有C++类型转换的例子在这里:#include "stdafx.h"#include
using namespace std;int main(int argc, char* argv[]){ cout<< 22/5*3
<<endl; // 输出12,注意连进位都没有包括 re...
分类:
编程语言 时间:
2014-05-26 12:14:05
阅读次数:
273
要点:1. 2Custmer.cs 1 using
Iesi.Collections.Generic; 2 using System; 3 using System.Linq; 4 using
System.Text; 5 6 namespace Model 7 { 8 p...
分类:
系统相关 时间:
2014-05-26 11:53:27
阅读次数:
302
#includeusing namespace std;///算法重要,但是思想更重要 void
MemeryArray(int a[],int n,int b[],int m,int c[])///经典框架,be careful!{ int i,j,k;
i = j = k = 0; while(...
分类:
其他好文 时间:
2014-05-26 11:22:57
阅读次数:
204
1) File>Import>General>Existing
Project into Workspace2) File>Import>Android>Existing Code into
Workspace
分类:
系统相关 时间:
2014-05-26 10:51:33
阅读次数:
280
#include#include#includeusing namespace std; //void
MinHeapFixup(int a[], int i)//{// int j ,temp;// temp = a[i];// j = (i-1)/2;//
while(j >= 0 && i !...
分类:
其他好文 时间:
2014-05-26 10:26:08
阅读次数:
212
#include#include#include#include#include#include#includeusing
namespace std;class node{public: int val; node* left; node* right; node():va...
分类:
其他好文 时间:
2014-05-24 08:57:31
阅读次数:
270