swh:1:snp:4ac4ed834489429d51fc0fd004f10ddbf78d807a
Raw File
Tip revision: 0e186db83a043dcfe9c666dd4c90f9e8d1b9234e authored by Giuseppe Attardi on 27 October 1994, 11:26:20 UTC
1.1 -
Tip revision: 0e186db
test7.C
#include "config.h"
#include "cmm.H"
#include "../../BigNum/g++/Integer.H"

int main()
{
GcArray<Integer> &t = * new(900) GcArray<Integer>(0);
int i,j,k=1;

for (i=0;i<30;i++){
   for (j=0;j<30;j++){
        t[30*i+j]=Integer(i+j);
        cout << t[30*i+j];
   }
}

for (k=25;k<30;i++){
  for (i=10;i<30;i++){
    for (j=10;j<30;j++){
        t[30*i+j]=(t[30*k]*t[30*i+j])-(t[i*30]*t[30*k+j]);
        cout << t[(i-10)*30 + (j-10)];
    }
  }
}
}
back to top