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