From d6fee17487cf5af8775292b9b550bafff5847178 Mon Sep 17 00:00:00 2001 From: oncsr Date: Mon, 3 Feb 2025 15:55:06 +0900 Subject: [PATCH] =?UTF-8?q?[20250203]=20BOJ=20/=20=EA=B3=A8=EB=93=9C5=20/?= =?UTF-8?q?=20=EC=B0=A8=ED=8A=B8=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 --- .../03 BOJ G5 \354\260\250\355\212\270.md" | 61 +++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 "khj20006/202502/03 BOJ G5 \354\260\250\355\212\270.md" diff --git "a/khj20006/202502/03 BOJ G5 \354\260\250\355\212\270.md" "b/khj20006/202502/03 BOJ G5 \354\260\250\355\212\270.md" new file mode 100644 index 00000000..cac5f858 --- /dev/null +++ "b/khj20006/202502/03 BOJ G5 \354\260\250\355\212\270.md" @@ -0,0 +1,61 @@ +```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 N; + static int ans = 0; + static int[] A = new int[8]; + + static void sol(int pos, int choose, int[] arr) { + if(pos == N) { + int res = 0; + for(int i=1;i