반응형
BufferedWriter
-
백준 문제 15552번 자바 코드알고리즘 문제 풀이 2019. 4. 25. 17:29
import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.IOException; import java.io.InputStreamReader; import java.io.OutputStreamWriter; public class Main { public static void main(String[] args) { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out)); try { int cnt = Integer.pars..