From ec52f33d644b824b16147b0f3fe5353d5d4b245f Mon Sep 17 00:00:00 2001 From: oncsr Date: Tue, 4 Feb 2025 17:11:27 +0900 Subject: [PATCH] =?UTF-8?q?[20250204]=20BOJ=20/=20=EC=8B=A4=EB=B2=844=20/?= =?UTF-8?q?=20=EB=B3=84=20=EC=B0=8D=EA=B8=B0=20-=2023=20/=20=EA=B6=8C?= =?UTF-8?q?=ED=98=81=EC=A4=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...\263\204 \354\260\215\352\270\260 - 23.md" | 72 +++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 "khj20006/202502/04 BOJ S4 \353\263\204 \354\260\215\352\270\260 - 23.md" diff --git "a/khj20006/202502/04 BOJ S4 \353\263\204 \354\260\215\352\270\260 - 23.md" "b/khj20006/202502/04 BOJ S4 \353\263\204 \354\260\215\352\270\260 - 23.md" new file mode 100644 index 00000000..dc602fec --- /dev/null +++ "b/khj20006/202502/04 BOJ S4 \353\263\204 \354\260\215\352\270\260 - 23.md" @@ -0,0 +1,72 @@ +```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 N = Integer.parseInt(br.readLine()); + + for(int i=0;i=1;i--) { + for(int j=0;j