compile error: cannot find symbol: In, StdIn and StdOut

前端 未结 6 1103
隐瞒了意图╮
隐瞒了意图╮ 2020-12-16 13:35

The code is from http://algs4.cs.princeton.edu/11model/BinarySearch.java.html for Algorithms textbook.

import java.         


        
6条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-16 14:04

    If you have already set up the environment recommended for the course, only add this lines to your java file

    import edu.princeton.cs.algs4.StdIn;
    import edu.princeton.cs.algs4.StdOut;
    

提交回复
热议问题