From 5b649747ff25646b80ad199b5dca1fb913213ba1 Mon Sep 17 00:00:00 2001 From: oncsr Date: Tue, 4 Feb 2025 10:46:18 +0900 Subject: [PATCH] =?UTF-8?q?[20250204]=20BOJ=20/=20=EA=B3=A8=EB=93=9C5=20/?= =?UTF-8?q?=20=EC=A3=BC=EC=82=AC=EC=9C=84=20=EC=8C=93=EA=B8=B0=20/=20?= =?UTF-8?q?=EA=B6=8C=ED=98=81=EC=A4=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...4\354\234\204 \354\214\223\352\270\260.md" | 68 +++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 "khj20006/202502/04 BOJ G5 \354\243\274\354\202\254\354\234\204 \354\214\223\352\270\260.md" diff --git "a/khj20006/202502/04 BOJ G5 \354\243\274\354\202\254\354\234\204 \354\214\223\352\270\260.md" "b/khj20006/202502/04 BOJ G5 \354\243\274\354\202\254\354\234\204 \354\214\223\352\270\260.md" new file mode 100644 index 00000000..075077f1 --- /dev/null +++ "b/khj20006/202502/04 BOJ G5 \354\243\274\354\202\254\354\234\204 \354\214\223\352\270\260.md" @@ -0,0 +1,68 @@ +```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 + + public static void main(String[] args) throws Exception { + + int[][] ch = { + {1,2,3,4}, + {0,2,4,5}, + {0,1,3,5}, + {0,2,4,5}, + {0,1,3,5}, + {1,2,3,4} + }; + int[] op = {5,3,4,1,2,0}; + + nextLine(); + int N = nextInt(); + int[][] Dices = new int[N][6]; + for(int i=0;i