#include using namespace std; #define N 3 double inverse(double **a,const int n){ double max1=-9999; for(int i=0;i0) max1+=a[i][j]; else max1-=a[i][j]; } if(max10){ value+=b[i][j]; } else value+=-b[i][j]; } if(value>max) max=value; } return max+max1; } //double LU(double a[N][N],double b[],double c[N],int n){ //} int main(){ double **a; a = new double *[N]; for(int i=0; i