RewriteEngine on
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule ^(.*)$ /index.php?route=$1 [L,QSA]
Random r = new Random();
Vector< Vector<Integer> > nums = new Vector<Vector<Integer>>();
long t = System.currentTimeMillis();
System.out.println( "Starting generate example" );
for( int column = 0; column < 20 ; column++ ){
Vector<Integer> rows = new Vector<Integer>();
for( int row = 0; row < 1000; row++ ){
rows.add( r.nextInt() );
}
nums.add(rows);
}
long t2 = System.currentTimeMillis();
System.out.println( "generate example finished at " + ( t2 - t ) );
System.out.println( "Starting getAnswer" );
System.out.println( p.getAnswer2(nums) );
long t3 = System.currentTimeMillis();
System.out.println( "getAnswer finished at " + ( t3 - t2) );
Starting generate example
generate example finished at 24
Starting getAnswer
13
getAnswer finished at 385