diff --git "a/lkhyun/202511/09 BOJ G4 \353\236\250\355\224\204.md" "b/lkhyun/202511/09 BOJ G4 \353\236\250\355\224\204.md" new file mode 100644 index 00000000..ba4cc7f8 --- /dev/null +++ "b/lkhyun/202511/09 BOJ G4 \353\236\250\355\224\204.md" @@ -0,0 +1,39 @@ +```java +import java.util.*; +import java.io.*; + +public class Main{ + static BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); + static BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out)); + static StringBuilder sb = new StringBuilder(); + static StringTokenizer st; + static int N,M,K; + static Map patterns = new HashMap<>(); + static int max = 0; + + public static void main(String[] args) throws Exception { + st = new StringTokenizer(br.readLine()); + N = Integer.parseInt(st.nextToken()); + M = Integer.parseInt(st.nextToken()); + for(int i = 0;i