blob: 5987222d0d2ea9bb29ee6efae5195d1cb151e1ed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#! /bin/bash
export "CLASSPATH=$CLASSPATH:.:$HOME/algs4/algs4.jar"
CLASSES="Percolation PercolationStats"
rm *.class
for kls in $CLASSES; do
~/algs4/bin/checkstyle ${kls}.java
javac ${kls}.java
# ~/algs4/bin/findbugs ${kls}.class
done
java PercolationStats 200 100
java PercolationStats 200 100
java PercolationStats 2000 100
java PercolationStats 2 10000
java PercolationStats 2 1000000
|