From b9b69fb8a8015068de8a87feb6ed5c4db2e1a7f1 Mon Sep 17 00:00:00 2001 From: oncsr Date: Fri, 14 Feb 2025 14:52:06 +0900 Subject: [PATCH] =?UTF-8?q?[20250214]=20BOJ=20/=20G5=20/=20=EC=9E=91?= =?UTF-8?q?=EC=9D=80=20=EB=B2=8C=EC=A0=90=20/=20=EA=B6=8C=ED=98=81?= =?UTF-8?q?=EC=A4=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...1\354\235\200 \353\262\214\354\240\220.md" | 81 +++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 "khj20006/202502/14 BOJ G5 \354\236\221\354\235\200 \353\262\214\354\240\220.md" diff --git "a/khj20006/202502/14 BOJ G5 \354\236\221\354\235\200 \353\262\214\354\240\220.md" "b/khj20006/202502/14 BOJ G5 \354\236\221\354\235\200 \353\262\214\354\240\220.md" new file mode 100644 index 00000000..f83574ac --- /dev/null +++ "b/khj20006/202502/14 BOJ G5 \354\236\221\354\235\200 \353\262\214\354\240\220.md" @@ -0,0 +1,81 @@ +```java + +import java.util.*; +import java.io.*; + +class Main { + + // IO field + static BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); + static BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out)); + static StringTokenizer st; + + static void nextLine() throws Exception {st = new StringTokenizer(br.readLine());} + static int nextInt() {return Integer.parseInt(st.nextToken());} + static long nextLong() {return Long.parseLong(st.nextToken());} + static void bwEnd() throws Exception {bw.flush();bw.close();} + + // Additional field + static int NA, NB, NC; + static int[] A, B, C; + + public static void main(String[] args) throws Exception { + + ready(); + solve(); + + bwEnd(); + + } + + static void ready() throws Exception{ + + nextLine(); + NA = nextInt(); + NB = nextInt(); + NC = nextInt(); + + A = new int[NA]; + B = new int[NB]; + C = new int[NC]; + + nextLine(); + for(int i=0;i