반응형
반응형
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..
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Arrays; import java.util.StringTokenizer; public class Main { char[] secret; boolean[] visit; StringBuilder sb = new StringBuilder(); public void solution() throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st = new StringToken..
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.StringTokenizer; public class Main { int[] t; int[] p; boolean[] visit; int n; int result = 0; public void solution() throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); n = Integer.parseInt(br.readLine()); t = new int[n]; p = new int[n]; visit ..