From e1fcbeca1a060fa5540f0205debb3cc37bce47ba Mon Sep 17 00:00:00 2001 From: siwon Date: Tue, 10 Mar 2026 15:56:28 +0900 Subject: [PATCH 1/3] =?UTF-8?q?mun:=20=EB=B6=80=EB=B6=84=20=EB=AC=B8?= =?UTF-8?q?=EC=9E=90=EC=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Mun.java" | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 "03\354\233\224/2\354\243\274\354\260\250/[BOJ] \353\266\200\353\266\204 \353\254\270\354\236\220\354\227\264/Mun.java" diff --git "a/03\354\233\224/2\354\243\274\354\260\250/[BOJ] \353\266\200\353\266\204 \353\254\270\354\236\220\354\227\264/Mun.java" "b/03\354\233\224/2\354\243\274\354\260\250/[BOJ] \353\266\200\353\266\204 \353\254\270\354\236\220\354\227\264/Mun.java" new file mode 100644 index 0000000..97ae0c6 --- /dev/null +++ "b/03\354\233\224/2\354\243\274\354\260\250/[BOJ] \353\266\200\353\266\204 \353\254\270\354\236\220\354\227\264/Mun.java" @@ -0,0 +1,37 @@ +import java.io.*; +import java.util.*; + +public class Mun { + public static void main(String[] args) throws IOException { + BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); + StringBuilder sb = new StringBuilder(""); + StringTokenizer st; + String str = br.readLine(); + while(str != null && !str.equals("")) { + st = new StringTokenizer(str, " "); + String s = st.nextToken(); + String t = st.nextToken(); + sb.append(isCombine(s.toCharArray(), t.toCharArray())).append("\n"); + str = br.readLine(); + } + System.out.print(sb.toString()); + } + + private static String isCombine(char[] s, char[] t) { + int start = 0; + for(char c : s) { + boolean ex = false; + for(int i=start;i Date: Tue, 10 Mar 2026 15:56:44 +0900 Subject: [PATCH 2/3] =?UTF-8?q?mun:=20=EC=B5=9C=EC=86=8C=20=ED=9A=8C?= =?UTF-8?q?=EC=9D=98=EC=8B=A4=20=EA=B0=9C=EC=88=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Mun.java" | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 "03\354\233\224/2\354\243\274\354\260\250/[BOJ] \354\265\234\354\206\214 \355\232\214\354\235\230\354\213\244 \352\260\234\354\210\230/Mun.java" diff --git "a/03\354\233\224/2\354\243\274\354\260\250/[BOJ] \354\265\234\354\206\214 \355\232\214\354\235\230\354\213\244 \352\260\234\354\210\230/Mun.java" "b/03\354\233\224/2\354\243\274\354\260\250/[BOJ] \354\265\234\354\206\214 \355\232\214\354\235\230\354\213\244 \352\260\234\354\210\230/Mun.java" new file mode 100644 index 0000000..e445e19 --- /dev/null +++ "b/03\354\233\224/2\354\243\274\354\260\250/[BOJ] \354\265\234\354\206\214 \355\232\214\354\235\230\354\213\244 \352\260\234\354\210\230/Mun.java" @@ -0,0 +1,28 @@ +import java.io.*; +import java.util.*; + +public class Mun { + public static void main(String[] args) throws IOException { + BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); + int N = Integer.parseInt(br.readLine()); + int[][] time = new int[N][2]; + for(int i=0;i { + return (o1[0] == o2[0]) ? o1[1] - o2[1] : o1[0] - o2[0]; + }); + PriorityQueue que = new PriorityQueue<>(); + que.add(time[0][1]); + for(int i=1;i Date: Tue, 10 Mar 2026 15:56:52 +0900 Subject: [PATCH 3/3] =?UTF-8?q?solve:=20=EC=B9=B4=EC=9A=B0=EB=B2=84?= =?UTF-8?q?=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Mun.java" | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 "03\354\233\224/2\354\243\274\354\260\250/[BOJ] \354\271\264\354\232\260\353\262\204\352\261\260/Mun.java" diff --git "a/03\354\233\224/2\354\243\274\354\260\250/[BOJ] \354\271\264\354\232\260\353\262\204\352\261\260/Mun.java" "b/03\354\233\224/2\354\243\274\354\260\250/[BOJ] \354\271\264\354\232\260\353\262\204\352\261\260/Mun.java" new file mode 100644 index 0000000..bb1ac5c --- /dev/null +++ "b/03\354\233\224/2\354\243\274\354\260\250/[BOJ] \354\271\264\354\232\260\353\262\204\352\261\260/Mun.java" @@ -0,0 +1,33 @@ +import java.io.*; +import java.util.*; + +public class Mun { + public static void main(String[] args) throws IOException { + BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); + String[] input = br.readLine().split(" "); + int B = Integer.parseInt(input[0]); + int C = Integer.parseInt(input[1]); + int D = Integer.parseInt(input[2]); + ArrayList[] list = new ArrayList[3]; + for(int i=0;i<3;i++) { + list[i] = new ArrayList<>(); + } + int setNum = Math.min(B, Math.min(C, D)); + long sum = 0; + long set = 0; + for(int i=0;i<3;i++) { + String[] price = br.readLine().split(" "); + for(int j=0;j