All pastes #292685 Raw Edit

Stuff

public text v1 · immutable
#292685 ·published 2006-12-26 20:54 UTC
rendered paste body
#include <iostream>
#include <stdio.h>
using namespace std;

#define M 4 
#define N 4 

void main(void)
{
int A[M][N];
for (int i = 0; i < M; ++i) 

{ 
	for (int j = 0; j < N; ++j) 
	{ 
		if(i == j) 
A[i][j]=0; 
		else 
		{ 
			if(i<j) A[i][j]=1; else A[i][j]=-1; 
} } }
}