import java.io.FileInputStream;
import java.io.FileNotFoundException;
public class main {
public static void main(String[] args) throws FileNotFoundException {
System.setIn(new FileInputStream("C:\\Users\주소주소input.txt"));
Scanner scan = new Scanner(System.in);
int n = Integer.parseInt(scan.nextLine());
'개발 > Java' 카테고리의 다른 글
이클립스 자동완성 키 변경 (0) | 2019.11.29 |
---|---|
Java Combination, Permuation 순열과 조합 (0) | 2019.11.02 |
Java 환경변수 설정 (오랜만에하면 까먹음) (0) | 2019.11.02 |
Class.forName의 역할은 무엇일까? (0) | 2019.03.19 |
Eclipse 버그 unreachable code (0) | 2019.03.14 |