blob: 6adde6d21153ea97520c2542ecda6edf65cca6e7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#! /bin/bash
export "CLASSPATH=$CLASSPATH:.:$HOME/algs4/algs4.jar:$HOME/algs4/stdlib.jar"
CLASSES="Deque RandomizedQueue Subset"
rm *.class *.zip 2>/dev/null
for kls in $CLASSES; do
~/algs4/bin/checkstyle ${kls}.java
javac ${kls}.java
done
~/algs4/bin/findbugs *.class
echo "RUN..."
echo A B C D E F G H I | java Subset 3
echo A B C D E F G H I | java Subset 3
echo A B C D E F G H I | java Subset 3
echo AA BB BB BB BB BB CC CC | java Subset 8
zip queues.zip Deque.java RandomizedQueue.java Subset.java
|