Submission #213356

# Submission time Handle Problem Language Result Execution time Memory
213356 2020-03-25T16:15:53 Z berryzed scanf 함수 1 (BSC_0_3) Java 11
Compilation error
0 ms 0 KB
public class scanf1 {

	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int number = scanner.nextInt();
		System.out.println(number);
	}
}

Compilation message

scanf1.java:4: error: cannot find symbol
		Scanner scanner = new Scanner(System.in);
		^
  symbol:   class Scanner
  location: class scanf1
scanf1.java:4: error: cannot find symbol
		Scanner scanner = new Scanner(System.in);
		                      ^
  symbol:   class Scanner
  location: class scanf1
2 errors