摘要:
#include #include using namespace std;int a[1000][1000];void printM(int m,int n){ for(int startX=0,startY=0,endX=m,endY=n;startX*2 =startY) ... 阅读全文
posted @ 2013-08-24 20:56
hunterzhang
阅读(186)
评论(0)
推荐(0)
摘要:
#include #include #include using namespace std;int main(){ //定义超大二维数组方法一 int *p=new int[10000*10000]; p[2*1000+100]=1; cout<<p[2*1000+100]<<endl; //定义超大二维数组方法二 int **q=new int*[1000]; for(int i=0;i<1000;i++) q[i]=new int[1000]; q[1][1]=1; cout<<q[1][1]<<endl; //十... 阅读全文
posted @ 2013-08-24 13:35
hunterzhang
阅读(2237)
评论(0)
推荐(0)

浙公网安备 33010602011771号