From 4741c8599f4a139138847dd04b75c39e15a448d4 Mon Sep 17 00:00:00 2001 From: lkhyun <102892446+lkhyun@users.noreply.github.com> Date: Tue, 11 Nov 2025 20:45:34 +0900 Subject: [PATCH 1/2] =?UTF-8?q?[20251111]=20BOJ=20/=20G2=20/=20=EA=B0=80?= =?UTF-8?q?=EC=9A=B4=EB=8D=B0=EB=A5=BC=20=EB=A7=90=ED=95=B4=EC=9A=94=20/?= =?UTF-8?q?=20=EC=9D=B4=EA=B0=95=ED=98=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...4 \353\247\220\355\225\264\354\232\224.md" | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 "lkhyun/202511/BOJ G2 \352\260\200\354\232\264\353\215\260\353\245\274 \353\247\220\355\225\264\354\232\224.md" diff --git "a/lkhyun/202511/BOJ G2 \352\260\200\354\232\264\353\215\260\353\245\274 \353\247\220\355\225\264\354\232\224.md" "b/lkhyun/202511/BOJ G2 \352\260\200\354\232\264\353\215\260\353\245\274 \353\247\220\355\225\264\354\232\224.md" new file mode 100644 index 00000000..e22cef0c --- /dev/null +++ "b/lkhyun/202511/BOJ G2 \352\260\200\354\232\264\353\215\260\353\245\274 \353\247\220\355\225\264\354\232\224.md" @@ -0,0 +1,26 @@ +```java +import java.util.*; +import java.io.*; + +public class Main{ + static BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); + static BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out)); + static StringBuilder sb = new StringBuilder(); + static int N; + static PriorityQueue minheap = new PriorityQueue<>(); + static PriorityQueue maxheap = new PriorityQueue<>(Comparator.reverseOrder()); + public static void main(String[] args) throws Exception { + N = Integer.parseInt(br.readLine()); + + for(int i = 0; i Date: Tue, 11 Nov 2025 20:46:02 +0900 Subject: [PATCH 2/2] =?UTF-8?q?[20251111]=20BOJ=20/=20G2=20/=20=EA=B0=80?= =?UTF-8?q?=EC=9A=B4=EB=8D=B0=EB=A5=BC=20=EB=A7=90=ED=95=B4=EC=9A=94=20/?= =?UTF-8?q?=20=EC=9D=B4=EA=B0=95=ED=98=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...3\215\260\353\245\274 \353\247\220\355\225\264\354\232\224.md" | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename "lkhyun/202511/BOJ G2 \352\260\200\354\232\264\353\215\260\353\245\274 \353\247\220\355\225\264\354\232\224.md" => "lkhyun/202511/11 BOJ G2 \352\260\200\354\232\264\353\215\260\353\245\274 \353\247\220\355\225\264\354\232\224.md" (100%) diff --git "a/lkhyun/202511/BOJ G2 \352\260\200\354\232\264\353\215\260\353\245\274 \353\247\220\355\225\264\354\232\224.md" "b/lkhyun/202511/11 BOJ G2 \352\260\200\354\232\264\353\215\260\353\245\274 \353\247\220\355\225\264\354\232\224.md" similarity index 100% rename from "lkhyun/202511/BOJ G2 \352\260\200\354\232\264\353\215\260\353\245\274 \353\247\220\355\225\264\354\232\224.md" rename to "lkhyun/202511/11 BOJ G2 \352\260\200\354\232\264\353\215\260\353\245\274 \353\247\220\355\225\264\354\232\224.md"