From cd5460151825f64c91c98b9ee933a7ccfbfbe43c Mon Sep 17 00:00:00 2001 From: Gyulguma Date: Mon, 5 May 2025 15:12:26 +0900 Subject: [PATCH 1/3] =?UTF-8?q?[Baekjoon-3020]=20=EA=B0=9C=EB=98=A5?= =?UTF-8?q?=EB=B2=8C=EB=A0=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...\353\230\245\353\262\214\353\240\210.java" | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 "\354\234\240\353\263\221\352\267\234_15\354\243\274\354\260\250/[BOJ-3020] \352\260\234\353\230\245\353\262\214\353\240\210.java" diff --git "a/\354\234\240\353\263\221\352\267\234_15\354\243\274\354\260\250/[BOJ-3020] \352\260\234\353\230\245\353\262\214\353\240\210.java" "b/\354\234\240\353\263\221\352\267\234_15\354\243\274\354\260\250/[BOJ-3020] \352\260\234\353\230\245\353\262\214\353\240\210.java" new file mode 100644 index 00000000..de8a1703 --- /dev/null +++ "b/\354\234\240\353\263\221\352\267\234_15\354\243\274\354\260\250/[BOJ-3020] \352\260\234\353\230\245\353\262\214\353\240\210.java" @@ -0,0 +1,49 @@ +import java.io.*; +import java.util.*; + +public class Main { + + public static void main(String[] args) throws IOException { + BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); + + StringTokenizer st = new StringTokenizer(br.readLine()); + + //입력 값 저장 + int n = Integer.parseInt(st.nextToken()); + int h = Integer.parseInt(st.nextToken()); + + int[] number = new int[n]; + for(int i=0; i Date: Mon, 5 May 2025 15:12:36 +0900 Subject: [PATCH 2/3] =?UTF-8?q?[Baekjoon-1911]=20=ED=9D=99=EA=B8=B8=20?= =?UTF-8?q?=EB=B3=B4=EC=88=98=ED=95=98=EA=B8=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...\354\210\230\355\225\230\352\270\260.java" | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 "\354\234\240\353\263\221\352\267\234_15\354\243\274\354\260\250/[BOJ-1911] \355\235\231\352\270\270 \353\263\264\354\210\230\355\225\230\352\270\260.java" diff --git "a/\354\234\240\353\263\221\352\267\234_15\354\243\274\354\260\250/[BOJ-1911] \355\235\231\352\270\270 \353\263\264\354\210\230\355\225\230\352\270\260.java" "b/\354\234\240\353\263\221\352\267\234_15\354\243\274\354\260\250/[BOJ-1911] \355\235\231\352\270\270 \353\263\264\354\210\230\355\225\230\352\270\260.java" new file mode 100644 index 00000000..73697c05 --- /dev/null +++ "b/\354\234\240\353\263\221\352\267\234_15\354\243\274\354\260\250/[BOJ-1911] \355\235\231\352\270\270 \353\263\264\354\210\230\355\225\230\352\270\260.java" @@ -0,0 +1,37 @@ +import java.io.*; +import java.util.*; + +public class Main { + + public static void main(String[] args) throws IOException { + BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); + + StringTokenizer st = new StringTokenizer(br.readLine()); + + int n = Integer.parseInt(st.nextToken()); + int l = Integer.parseInt(st.nextToken()); + + int[][] water = new int[n][2]; + for(int i=0; i Integer.compare(o1[0], o2[0])); + + int result = 0; + int pre = 0; + for(int i=0; i Date: Mon, 5 May 2025 15:12:44 +0900 Subject: [PATCH 3/3] =?UTF-8?q?[Baekjoon-18119]=20=EB=8B=A8=EC=96=B4=20?= =?UTF-8?q?=EC=95=94=EA=B8=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...354\226\264 \354\225\224\352\270\260.java" | 51 +++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 "\354\234\240\353\263\221\352\267\234_15\354\243\274\354\260\250/[BOJ-18119] \353\213\250\354\226\264 \354\225\224\352\270\260.java" diff --git "a/\354\234\240\353\263\221\352\267\234_15\354\243\274\354\260\250/[BOJ-18119] \353\213\250\354\226\264 \354\225\224\352\270\260.java" "b/\354\234\240\353\263\221\352\267\234_15\354\243\274\354\260\250/[BOJ-18119] \353\213\250\354\226\264 \354\225\224\352\270\260.java" new file mode 100644 index 00000000..31802bf9 --- /dev/null +++ "b/\354\234\240\353\263\221\352\267\234_15\354\243\274\354\260\250/[BOJ-18119] \353\213\250\354\226\264 \354\225\224\352\270\260.java" @@ -0,0 +1,51 @@ +import java.io.*; +import java.util.*; + +public class Main { + + public static void main(String[] args) throws IOException { + BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); + + StringTokenizer st = new StringTokenizer(br.readLine()); + int n = Integer.parseInt(st.nextToken()); + int m = Integer.parseInt(st.nextToken()); + + //단어 저장 + List words = new ArrayList<>(); + for(int i=0; i