0 javac *.java

0 rjrun Main > No_input.out 2>&1
# program is nondeterministic
# make sure, though, that get all 4 outputs (of interest)
0 grep p1   No_input.out >/dev/null 2>&1
0 grep p2   No_input.out >/dev/null 2>&1
0 grep 1009 No_input.out >/dev/null 2>&1
0 grep 1010 No_input.out >/dev/null 2>&1

0 rm -f *.class *.out
