반응형
반응형
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.StringTokenizer; public class Main { StringBuilder sb = new StringBuilder(); int n; int[] check; boolean[] visit; public void solution() throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); n = Integer.parseInt(br.readLine()); visit = new boolean..
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.StringTokenizer; public class Main { StringBuilder sb = new StringBuilder(); int n; int[] inputNum; boolean[] visit; public void solution() throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); n = Integer.parseInt(br.readLine()); StringTokenizer ..
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.StringTokenizer; public class Main { StringBuilder sb = new StringBuilder(); int n; int[] inputNum; boolean[] visit; public void solution() throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); n = Integer.parseInt(br.readLine()); StringTokenizer ..
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.StringTokenizer; public class Main { int n; char[] inequality; int[] numArray; boolean[] visit; ArrayList arrayList = new ArrayList(); public void solution() throws IOException { BufferedReader br = new Bu..
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.StringTokenizer; public class Main { StringBuilder sb = new StringBuilder(); int n; int[][] stat; boolean[] visit; int[] a; int[] b; int result = Integer.MAX_VALUE; public void solution() throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); Strin..
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Arrays; import java.util.StringTokenizer; public class Main { StringBuilder sb = new StringBuilder(); int n; int[][] stat; boolean[] visit; int[] a; int[] b; int result = Integer.MAX_VALUE; public void solution() throws IOException { BufferedReader br = new BufferedReader(new InputStream..