From 45725812385fa1e908b93c728929088ef626970c Mon Sep 17 00:00:00 2001 From: lkhyun <102892446+lkhyun@users.noreply.github.com> Date: Sun, 9 Nov 2025 12:57:29 +0900 Subject: [PATCH] =?UTF-8?q?[20251109]=20BOJ=20/=20G4=20/=20=EB=9E=A8?= =?UTF-8?q?=ED=94=84=20/=20=EC=9D=B4=EA=B0=95=ED=98=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../09 BOJ G4 \353\236\250\355\224\204.md" | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 "lkhyun/202511/09 BOJ G4 \353\236\250\355\224\204.md" 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