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