From 8f72e5a85bbe4209358361d30f86f921313bfb4b Mon Sep 17 00:00:00 2001 From: oncsr Date: Fri, 14 Feb 2025 13:05:45 +0900 Subject: [PATCH] =?UTF-8?q?[20250214]=20BOJ=20/=20G3=20/=20=ED=96=89?= =?UTF-8?q?=EC=84=B1=20X3=20/=20=EA=B6=8C=ED=98=81=EC=A4=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../14 BOJ G3 \355\226\211\354\204\261 X3.md" | 54 +++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 "khj20006/202502/14 BOJ G3 \355\226\211\354\204\261 X3.md" diff --git "a/khj20006/202502/14 BOJ G3 \355\226\211\354\204\261 X3.md" "b/khj20006/202502/14 BOJ G3 \355\226\211\354\204\261 X3.md" new file mode 100644 index 00000000..ebb69150 --- /dev/null +++ "b/khj20006/202502/14 BOJ G3 \355\226\211\354\204\261 X3.md" @@ -0,0 +1,54 @@ +```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 long ans = 0; + static long[] cnt; + static long N; + + public static void main(String[] args) throws Exception { + + ready(); + solve(); + + bwEnd(); + + } + + static void ready() throws Exception{ + + cnt = new long[20]; + N = Integer.parseInt(br.readLine()); + for(int i=0;i