// $Id: matrix.java,v 1.3 2001/05/27 14:52:57 doug Exp $ // http://www.bagley.org/~doug/shootout/ // modified to use a little less memory by Thomas Holenstein //** This copy courtesy of http://www.kano.net/javabench/ //** Added Timer() code import java.io.*; import java.util.*; public class matrix { static int SIZE = 30; public static void main(String args[]) { int n = Integer.parseInt(args[0]); long start = System.currentTimeMillis(); int m1[][] = mkmatrix(SIZE, SIZE); int m2[][] = mkmatrix(SIZE, SIZE); int mm[][] = new int[SIZE][SIZE]; for (int i=0; i