otherlib中的包,IDEA中右键 add Libraries 命令行中在 java 目录用 javac -Xlint:unchecked -cp ../otherlib/algs4.jar:. sort/PerfCompare.java