January 13, 2021
입출력을 빠르게 받아서 시간을 줄이는 것이 첫 번째 효율성을 높일 수 있는 방법
BufferedReader사용하기 - 추후 정리
next()와 nextLine() 차이nextInt() 사용
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String tmp = sc.nextInt();
}
}Scanner 메소드 이용 시
nextLine().charAt(0) 사용(char)System.in.read(); 사용next()
nextInt()
nextLine()