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