#51·algs4

Build error

Author: gongzelong0718Created Apr 17, 2018Updated Sep 6, 2019

Does anyone know how to fix the build error?

➜  algs4 git:(master) ✗ javac BinarySearch.java
BinarySearch.java:94: error: cannot find symbol
        In in = new In(args[0])
        ^
  symbol:   class In
  location: class BinarySearch
BinarySearch.java:94: error: cannot find symbol
        In in = new In(args[0]);
                    ^
  symbol:   class In
  location: class BinarySearch
BinarySearch.java:101: error: cannot find symbol
        while (!StdIn.isEmpty()) {
                ^
  symbol:   variable StdIn
  location: class BinarySearch
BinarySearch.java:102: error: cannot find symbol
            int key = StdIn.readInt();
                      ^
  symbol:   variable StdIn
  location: class BinarySearch
BinarySearch.java:104: error: cannot find symbol
                StdOut.println(key);
                ^
  symbol:   variable StdOut
  location: class BinarySearch
5 errors