반응형
반응형
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.StringTokenizer; public class Main { int result = Integer.MIN_VALUE; int[][] num; boolean[][] check; int n; int m; int k; int[] dx = {-1, 1, 0, 0}; int[] dy = {0, 0, -1, 1}; public void solution() throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in..
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[] num; int[] inputNumber; boolean[] check; public void solution() throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st = ..
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[] num; int[] inputNumber; boolean[] check; public void solution() throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st = ..
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[] num; int[] inputNumber; boolean[] check; public void solution() throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st = ..
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.StringTokenizer; public class Main { StringBuilder sb = new StringBuilder(); int[] num; boolean[] check; public void solution() throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st = new StringTokenizer(br.readLine()); int n = ..
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.StringTokenizer; public class Main { StringBuilder sb = new StringBuilder(); int[] num; boolean[] check; public void solution() throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st = new StringTokenizer(br.readLine()); int n = ..