#define N 10000 int A[N][N]; int main() { int i, j, sum = 0; for(i=0; i