diff --git "a/algorithm-study/src/main/java/week05/boj13417/\354\271\264\353\223\234\353\254\270\354\236\220\354\227\264_\354\226\221\353\257\274\354\204\255.java" "b/algorithm-study/src/main/java/week05/boj13417/\354\271\264\353\223\234\353\254\270\354\236\220\354\227\264_\354\226\221\353\257\274\354\204\255.java" new file mode 100644 index 0000000..f22ed7a --- /dev/null +++ "b/algorithm-study/src/main/java/week05/boj13417/\354\271\264\353\223\234\353\254\270\354\236\220\354\227\264_\354\226\221\353\257\274\354\204\255.java" @@ -0,0 +1,45 @@ +package main.java.week05.boj13417; + +import java.io.BufferedReader; +import java.io.IOException; +import java.io.InputStreamReader; +import java.util.Deque; +import java.util.LinkedList; +import java.util.StringTokenizer; + +public class 카드문자열_양민섭 { + //메모리 : 29296KB, 시간 : 284ms + public static void main(String[] args) throws IOException { + BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); + int T = Integer.parseInt(br.readLine()); // 테스트 데이터 개수 + + StringBuilder result = new StringBuilder(); + + for (int t = 0; t < T; t++) { + int N = Integer.parseInt(br.readLine()); // 카드 개수 + StringTokenizer st = new StringTokenizer(br.readLine()); + + Deque deque = new LinkedList<>(); + + // 첫번째 카드 + deque.add(st.nextToken().charAt(0)); + // 나머지 카드 + for (int i = 1; i < N; i++) { + char c = st.nextToken().charAt(0); + if (c <= deque.peekFirst()) { // char 은 기본형 타입이라 null 못 받음. 그래서 NPE 경고 나옴. + deque.addFirst(c); // 가장 앞 글자보다 작 . 같 왼쪽에 추가 + } else { + deque.addLast(c); // 아니라면 오른쪽에 추가 + } + } + + // 덱을 문자열로 변환 + StringBuilder sb = new StringBuilder(); + for (char c : deque) { + sb.append(c); + } + result.append(sb).append("\n"); // 테스트끼리 분리 + } + System.out.print(result); + } +} \ No newline at end of file diff --git "a/algorithm-study/src/main/java/week05/boj20301/\353\260\230\354\240\204_\354\232\224\354\204\270\355\221\270\354\212\244_\354\226\221\353\257\274\354\204\255.java" "b/algorithm-study/src/main/java/week05/boj20301/\353\260\230\354\240\204_\354\232\224\354\204\270\355\221\270\354\212\244_\354\226\221\353\257\274\354\204\255.java" new file mode 100644 index 0000000..e317bfe --- /dev/null +++ "b/algorithm-study/src/main/java/week05/boj20301/\353\260\230\354\240\204_\354\232\224\354\204\270\355\221\270\354\212\244_\354\226\221\353\257\274\354\204\255.java" @@ -0,0 +1,58 @@ +package main.java.week05.boj20301; + +import java.io.*; +import java.util.LinkedList; +import java.util.StringTokenizer; + +public class 반전_요세푸스_양민섭 { + public static void main(String[] args) throws Exception { + BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); + StringTokenizer st = new StringTokenizer(br.readLine()); + + int N = Integer.parseInt(st.nextToken()); + int K = Integer.parseInt(st.nextToken()); + int M = Integer.parseInt(st.nextToken()); + + // 사람들을 1..N까지 넣어둔다 + LinkedList circle = new LinkedList<>(); + for (int i = 1; i <= N; i++) { + circle.add(i); + } + + StringBuilder out = new StringBuilder(); + + boolean clockwise = true; // 처음엔 오른쪽(시계 방향)으로 돈다 + int removed = 0; // 지금까지 제거된 사람 수 + + while (!circle.isEmpty()) { + if (clockwise) { + // 시계 방향: K-1번 앞에서 빼서 뒤에 붙인다 + for (int i = 0; i < K - 1; i++) { + int x = circle.removeFirst(); + circle.addLast(x); + } + // K번째를 제거 + int dead = circle.removeFirst(); + out.append(dead).append('\n'); + } else { + // 반시계 방향: K-1번 뒤에서 빼서 앞에 붙인다 + for (int i = 0; i < K - 1; i++) { + int x = circle.removeLast(); + circle.addFirst(x); + } + // K번째를 제거 (반시계라서 뒤에서 제거) + int dead = circle.removeLast(); + out.append(dead).append('\n'); + } + + removed++; + + // M명 제거될 때마다 방향을 뒤집는다 + if (removed % M == 0) { + clockwise = !clockwise; + } + } + + System.out.print(out.toString()); + } +} diff --git "a/algorithm-study/src/main/java/week05/boj2346/\355\222\215\354\204\240_\355\204\260\353\234\250\353\246\254\352\270\260_\354\226\221\353\257\274\354\204\255.java" "b/algorithm-study/src/main/java/week05/boj2346/\355\222\215\354\204\240_\355\204\260\353\234\250\353\246\254\352\270\260_\354\226\221\353\257\274\354\204\255.java" new file mode 100644 index 0000000..30a260c --- /dev/null +++ "b/algorithm-study/src/main/java/week05/boj2346/\355\222\215\354\204\240_\355\204\260\353\234\250\353\246\254\352\270\260_\354\226\221\353\257\274\354\204\255.java" @@ -0,0 +1,46 @@ +package main.java.week05.boj2346; + +import java.io.*; +import java.util.*; + +public class 풍선_터뜨리기_양민섭 { + public static void main(String[] args) throws IOException { + BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); + int N = Integer.parseInt(br.readLine()); + StringTokenizer st = new StringTokenizer(br.readLine()); + + Deque dq = new ArrayDeque<>(); + // [번호, 이동값] + for (int i = 1; i <= N; i++) { + int move = Integer.parseInt(st.nextToken()); + dq.addLast(new int[]{i, move}); + } + + StringBuilder sb = new StringBuilder(); + + int[] current = dq.pollFirst(); // 첫 풍선 터뜨리기 + sb.append(current[0]).append(' '); + + while (!dq.isEmpty()) { + int move = current[1]; + + if (move > 0) { + // 오른쪽(앞)으로 move-1번 회전 + for (int i = 0; i < move - 1; i++) { + dq.addLast(dq.pollFirst()); + } + current = dq.pollFirst(); + } else { + // 왼쪽(뒤)으로 |move|-1번 회전 + for (int i = 0; i < (-move) - 1; i++) { + dq.addFirst(dq.pollLast()); + } + current = dq.pollLast(); + } + + sb.append(current[0]).append(' '); + } + + System.out.println(sb.toString().trim()); + } +} diff --git a/out/production/algorithm-study/main/java/week01/boj15649/README.md b/out/production/algorithm-study/main/java/week01/boj15649/README.md new file mode 100644 index 0000000..7c97548 --- /dev/null +++ b/out/production/algorithm-study/main/java/week01/boj15649/README.md @@ -0,0 +1,105 @@ +# BOJ 15649 + +문제) 자연수 N과 M이 주어졌을 때, 아래 조건을 만족하는 길이가 M인 수열을 모두 구하는 프로그램을 작성하시오. + +- 조건) 1부터 N까지 자연수 중에서 중복 없이 M개를 고른 수열 +- 예) N=4, M=2 : [1,2], [1,3], [1,4], [2,1], [2,3], [2,4], [3,1], [3,2], [3,4], [4,1], [4,2], [4,3] + +## 백트래킹 +- 시도 -> 실패 -> 되돌아감을 반복하면서 정답을 찾아가는 알고리즘 +- 재귀적으로 문제를 해결한다. + - 재귀 -> 본인을 다시 호출 (예: 팩토리얼) + ```java + public class Factorial { + public static void main(String[] args) { + System.out.println(factorial(4)); + } + + public static int factorial(int n) { + if (n == 1) return 1; + + return n * factorial(n - 1); + } + } + + /* + n = 4 -> 4 * factorial(3) ==> 24 + n = 3 -> 3 * factorial(2) ==> 6 + n = 2 -> 2 * factorial(1) ==> 2 + n = 1 -> 1 + */ + + ``` + +## 수열 +- 예제) 1부터 4까지 자연수 중에서 중복 없이 3개를 고른 수열 +``` +depth (0) (1) (2) + 1 ────── 2 ────── 3 + │ └── 4 + │ + ├─── 3 ────── 2 + │ └── 4 + │ + └─── 4 ────── 2 + └── 3 + + 2 ... +``` + +- `boolean visited[n]` : 방문한 숫자를 알아낸다. +- `int[] arr[m]` : 수열을 배열 형태로 저장 +- `int depth` : 몇 번째 수열인지 가르키기 위한 값 + +``` +static void backtracking(int depth) { + if (depth == arr.length) { + for (int value : arr) { + System.out.print(value + " "); + } + System.out.println(); + return; + } + + for (int i = 0; i < visited.length; i++) { + if (!visited[i]) { + visited[i] = true; + arr[depth] = i + 1; + backtracking(depth + 1); + visited[i] = false; + } + } + } + +# backtracking(0) -> i = 0, visitied[0] = true, arr[0] = 1, backtracking(1) + └── ## backtracking(1) -> i = 0, visited[0] 이미 true + -> i = 1, visited[1] = true, arr[1] = 2, backtracking(2) + └── ### backtracking(2) -> i = 0, visited[0] 이미 true + -> i = 1, visited[1] 이미 true + -> i = 2, visited[2] = true, arr[2] = 3, backtracking(3) + └── #### backtracking(3) -> depth == arr.length, [1, 2, 3] ==> visited[2] = false + + -> i = 3, visited[3] = true, arr[3] = 4, backtracking(3) + └── #### backtracking(3) -> depth == arr.length, [1, 2, 4] ==> visited[3] = false + + -> i = 2, visited[2] = true, arr[2] = 3, backtrakcing(2) + └── ### backtracking(2) -> i = 0, visited[0] 이미 true + -> i = 1, visited[1] = true, arr[2] = 2, backtracking(3) + └── #### backtracking(3) -> depth == arr.length, [1, 3, 2] ==> visited[1] = false + + -> i = 2, visited[2] 이미 true + -> i = 3, visited[3] = true, arr[2] = 4, backtracking(3) + └── #### backtracking(3) -> depth == arr.length, [1, 3, 4] ==> visited[3] = false + + -> i = 3, visited[3] = true, arr[3] = 4, backtracking(2) + └── ### backtracking(2) -> i = 0, visited[0] 이미 true + -> i = 1, visited[1] = true, arr[2] = 2, backtracking(3) + └── #### backtracking(3) -> depth == arr.length, [1, 4, 2] ==> visited[1] = false + + -> i = 2, visited[2] = true, arr[2] = 3, backtracking(3) + └── #### backtracking(3) -> depth == arr.length, [1, 4, 3] ==> visited[2] = false + + -> i = 3, visited[3] 이미 true + + -> i = 1, ... +``` \ No newline at end of file diff --git a/out/production/algorithm-study/main/java/week02/boj17219/problem.md b/out/production/algorithm-study/main/java/week02/boj17219/problem.md new file mode 100644 index 0000000..a34c23d --- /dev/null +++ b/out/production/algorithm-study/main/java/week02/boj17219/problem.md @@ -0,0 +1,61 @@ +# [비밀번호 찾기](https://www.acmicpc.net/problem/17219) + +## 문제 +- 2019 HEPC - MAVEN League의 "비밀번호 만들기"와 같은 방식으로 비밀번호를 만든 경민이는 한 가지 문제점을 발견하였다. +- 비밀번호가 랜덤으로 만들어져서 기억을 못 한다는 것이었다! 그래서 경민이는 메모장에 사이트의 주소와 비밀번호를 저장해두기로 했다. +- 하지만 컴맹인 경민이는 메모장에서 찾기 기능을 활용하지 못하고 직접 눈으로 사이트의 주소와 비밀번호를 찾았다. +- 메모장에 저장된 사이트의 수가 늘어나면서 경민이는 비밀번호를 찾는 일에 시간을 너무 많이 쓰게 되었다. +- 이를 딱하게 여긴 문석이는 경민이를 위해 메모장에서 비밀번호를 찾는 프로그램을 만들기로 결심하였다! +- 문석이를 도와 경민이의 메모장에서 비밀번호를 찾아주는 프로그램을 만들어보자. + +--- + +## 입력 +- 첫째 줄에 저장된 사이트 주소의 수 N(1 ≤ N ≤ 100,000)과 비밀번호를 찾으려는 사이트 주소의 수 M(1 ≤ M ≤ 100,000)이 주어진다. +- 두번째 줄부터 N개의 줄에 걸쳐 각 줄에 사이트 주소와 비밀번호가 공백으로 구분되어 주어진다. + - 사이트 주소는 알파벳 소문자, 알파벳 대문자, 대시('-'), 마침표('.')로 이루어져 있고, + - 중복되지 않는다. + - 비밀번호는 알파벳 대문자로만 이루어져 있다. + - 모두 길이는 최대 20자이다. +- N+2번째 줄부터 M개의 줄에 걸쳐 비밀번호를 찾으려는 사이트 주소가 한줄에 하나씩 입력된다. + - 이때, 반드시 이미 저장된 사이트 주소가 입력된다. + +--- + +## 출력 +첫 번째 줄부터 M개의 줄에 걸쳐 비밀번호를 찾으려는 사이트 주소의 비밀번호를 차례대로 각 줄에 하나씩 출력한다. + +--- + +## 예제 입력 +```markdown +16 4 +noj.am IU +acmicpc.net UAENA +startlink.io THEKINGOD +google.com ZEZE +nate.com VOICEMAIL +naver.com REDQUEEN +daum.net MODERNTIMES +utube.com BLACKOUT +zum.com LASTFANTASY +dreamwiz.com RAINDROP +hanyang.ac.kr SOMEDAY +dhlottery.co.kr BOO +duksoo.hs.kr HAVANA +hanyang-u.ms.kr OBLIVIATE +yd.es.kr LOVEATTACK +mcc.hanyang.ac.kr ADREAMER +startlink.io +acmicpc.net +noj.am +mcc.hanyang.ac.kr +``` + +## 예제 출력 +```markdown +THEKINGOD +UAENA +IU +ADREAMER +``` \ No newline at end of file diff --git a/out/production/algorithm-study/main/java/week02/boj1764/problem.md b/out/production/algorithm-study/main/java/week02/boj1764/problem.md new file mode 100644 index 0000000..50769d2 --- /dev/null +++ b/out/production/algorithm-study/main/java/week02/boj1764/problem.md @@ -0,0 +1,39 @@ +# [듣보잡](https://www.acmicpc.net/problem/1764) + +## 문제 +- 김진영이 듣도 못한 사람의 명단과, 보도 못한 사람의 명단이 주어질 때, +- 듣도 보도 못한 사람의 명단을 구하는 프로그램을 작성하시오. + +--- + +## 입력 +- 첫째 줄에 듣도 못한 사람의 수 N, 보도 못한 사람의 수 M이 주어진다. +- 이어서 둘째 줄부터 N개의 줄에 걸쳐 듣도 못한 사람의 이름과, N+2째 줄부터 보도 못한 사람의 이름이 순서대로 주어진다. +- 이름은 띄어쓰기 없이 알파벳 **소문자로만** 이루어지며, 그 길이는 20 이하이다. N, M은 **500,000 이하의 자연수**이다. +- 듣도 못한 사람의 명단에는 **중복되는 이름이 없으며**, 보도 못한 사람의 명단도 마찬가지이다. + +--- + +## 출력 +- 듣보잡의 수와 그 명단을 **사전순으로 출력**한다. + +--- + +## 예제 입력 +```markdown +3 4 +ohhenrie +charlie +baesangwook +obama +baesangwook +ohhenrie +clinton +``` + +## 예제 출력 +```markdown +2 +baesangwook +ohhenrie +``` \ No newline at end of file diff --git a/out/production/algorithm-study/main/java/week02/pgs42576/README.md b/out/production/algorithm-study/main/java/week02/pgs42576/README.md new file mode 100644 index 0000000..e26896d --- /dev/null +++ b/out/production/algorithm-study/main/java/week02/pgs42576/README.md @@ -0,0 +1,89 @@ +# Map의 메서드 (Java 8+) +- `putIfAbsent(K key, V value)` + - Key가 존재할 경우: Value 변경 없이 기존에 존재하는 Key의 Value를 반환한다. + - Key가 존재하지 않는 경우: Key에 해당하는 Value를 저장한 후 null을 반환한다. + - 예시) + - `Map`에 `key = "A", value = 5`인 데이터를 `put`한다. + - `map.putIfAbsent("A", 10)` : Key가 이미 존재하기 때문에 Value의 수정 없이 5를 반환한다. + - `map.putIfAbsent("B", 5)` : Key가 존재하지 않기 때문에 5를 저장한 후 null을 반환한다. + + +- `compute(K key, BiFunction remappingFunction)` + - Key의 여부와 관계 없이 전달받은 인자를 통해 람다 함수를 적용하고, 결과에 따라 key를 제거하거나, 새로운 value를 저장한다. + - Key가 존재하지 않을 경우 NPE(NullPointerException)이 발생할 수 있기 때문에 연산을 하기 전 값을 체크해주는 것이 좋다. + - 예시) + - `Map`에 `key = "A", value = 5`, `key = "B", value = 10`인 데이터를 `put`한다. + - `map.compute("A", (k, v) -> v == null ? 15 : v + 5)` : Key가 A인 Value가 5로 존재하므로, 5를 더한 10으로 저장한다. + - `map.compute("C", (k, v) -> v == null ? 15 : v + 5)` : Key가 C인 Value는 존재하지 않으므로, 15를 저장한다. + + +> BiFunction?\ +`Function(T, R)`은 매개변수를 하나 가지고, 매개변수와 같거나 다른 타입을 반환할 수 있는데, 여기에 `Bi` 가 붙은 것이다.\ +`BiFunction(T, U, R)`은 매개변수를 두 개 가지고, 매개변수와 같거나 다른 타입을 반환할 수 있다. +> + +- `computeIfAbsent(K key, Function mappingFunction)` + - Key가 존재할 경우: 아무런 작업을 하지 않고 기존에 존재하는 Key의 Value를 반환한다. + - Key가 존재하지 않는 경우: 람다식을 적용한 값을 해당 Key에 저장한 후 newValue를 반환한다. + - 예시) + - `Map`에 `key = 1, value = "One"`, `key = 2, value = "Two"`인 데이터를 `put`한다. + - `map.computeIfAbsent(1, k -> "NewOne")` : Key가 1인 Value는 이미 존재하므로 기존 값인 One을 반환한다. + - `map.computeIfAbsent(3, k -> "Three")` : Key가 3인 Value는 존재하지 않으므로 Three를 저장 후 반환한다. + + +- `computeIfPresent(K key, BiFunction remappingFunction)` + - Key가 존재할 경우: 람다식을 적용한 값이 null이 아니면 해당 Key에 저장한 후 반환하고, null이면 Key를 제거한 후 null을 반환한다. + - Key가 존재하지 않는 경우: null을 반환한다. + - 예시) + - `Map`에 `key = "A", value = 100`, `key = "B", value = 200`인 데이터를 `put`한다. + - `map.computeIfPresent("A", (k, v) -> v + 50)` : Key가 A인 Value는 100이 존재하므로 50을 더한 150을 반환한다. + - `map.computeIfPresent("B", (k, v) -> null)` : Key가 B인 Value가 null이 되면서 Key를 제거하고 null을 반환한다. + - `map.computeIfPresent("C", (k, v) -> v + 10)` : Key가 C인 Value가 존재하지 않으므로 null을 반환한다. + + +- `getOrDefault(Object key, V defaultValue)` + - Key가 존재할 경우: Key에 존재하는 Value를 반환한다. + - Key가 존재하지 않는 경우: 두 번째 인자로 설정한 defaultValue를 반환한다. + - 예시) + - `Map`에 `key = "A", value = "Apple"`인 데이터를 `put`한다. + - `map.getOrDefault("A", "Default")` : Key가 A인 Value가 존재하므로 그 값인 Apple을 반환한다. + - `map.getOrDefault("B", "Default")` : Key가 B인 Value가 존재하지 않으므로 Default를 반환한다. +--- +# 완주하지 못한 선수 +- 단 한 명의 선수를 제외하고는 모든 선수가 마라톤을 완주하였습니다. +- 마라톤에 참여한 선수들의 이름이 담긴 배열 `participant`와 완주한 선수들의 이름이 담긴 배열 `completion`이 주어진다. +- 완주하지 못한 선수의 이름을 return 하도록 solution 함수를 작성한다. +- completion의 길이는 participant의 길이보다 1 작다. +- 참가자 중에는 동명이인이 있을 수 있다. + +- 예시 + - `String[] participant = {"leo", "kiki", "eden"};` + - `String[] completion = {"kiki", "eden"};` + + +```java +for (String participantName : participant) { + map.compute(participantName, (k, v) -> v == null ? 1 : v + 1); + } +``` +- participant(참가자) 배열을 순회하면서 key로 조회하고, value가 null일 경우 1, value가 있을 경우 기존 값에 1을 더해준다. +- {"leo": 1, "kiki": 1, "eden": 1} + + +```java +for (String completionName : completion) { + map.compute(completionName, (k, v) -> v == null ? 0 : v - 1); + } +``` +- completion(완주자) 배열을 순회하면서 key로 조회하고, value가 null일 경우 0, value가 있을 경우 기존 값에서 1을 뺀다. +- {"leo": 1, "kiki": 0, "eden": 0} + +```java +for (String name : map.keySet()) { + if (map.get(name) != 0) { + return name; + } + } + return ""; +``` +- completion(완주자)의 길이는 participant(참가자)의 길이보다 1 작기 때문에 key를 통해 값을 조회하면 0이 아닌 값은 1개만 남는다. \ No newline at end of file diff --git a/out/production/algorithm-study/main/java/week02/pgs42577/problem.md b/out/production/algorithm-study/main/java/week02/pgs42577/problem.md new file mode 100644 index 0000000..c213a50 --- /dev/null +++ b/out/production/algorithm-study/main/java/week02/pgs42577/problem.md @@ -0,0 +1,34 @@ +# [전화번호 목록](https://school.programmers.co.kr/learn/courses/30/lessons/42577) + +## 문제 +- 전화번호부에 적힌 전화번호 중, 한 번호가 다른 번호의 접두어인 경우가 있는지 확인하려 합니다. +- 전화번호가 다음과 같을 경우, 구조대 전화번호는 영석이의 전화번호의 접두사입니다. + - 구조대 : 119 + - 박준영 : 97 674 223 + - 지영석 : 11 9552 4421 +- 전화번호부에 적힌 전화번호를 담은 배열 phone_book 이 solution 함수의 매개변수로 주어질 때, + - 어떤 번호가 다른 번호의 접두어인 경우가 있으면 false를 + - 그렇지 않으면 true를 return 하도록 solution 함수를 작성해주세요. + +--- + +## 제한 사항 +- phone_book의 길이는 1 이상 1,000,000 이하입니다. + - 각 전화번호의 길이는 1 이상 20 이하입니다. + - 같은 전화번호가 중복해서 들어있지 않습니다. + +--- + +## 입출력 예제 +| phone_book | return | +|----------------------------------|-------| +| ["119", "97674223", "1195524421"] | false | +| ["123","456","789"] | true | +| ["12","123","1235","567","88"] | false | + +-- + +## 채점 결과 +- 정확성: 83.3 +- 효율성: 16.7 +- 합계: 100.0 / 100.0 \ No newline at end of file diff --git "a/out/production/algorithm-study/main/java/week02/pgs42577/\354\240\204\355\231\224\353\262\210\355\230\270_\353\252\251\353\241\235_\354\226\221\353\257\274\354\204\255.class" "b/out/production/algorithm-study/main/java/week02/pgs42577/\354\240\204\355\231\224\353\262\210\355\230\270_\353\252\251\353\241\235_\354\226\221\353\257\274\354\204\255.class" new file mode 100644 index 0000000..7e8b583 Binary files /dev/null and "b/out/production/algorithm-study/main/java/week02/pgs42577/\354\240\204\355\231\224\353\262\210\355\230\270_\353\252\251\353\241\235_\354\226\221\353\257\274\354\204\255.class" differ diff --git "a/out/production/algorithm-study/main/java/week02/pgs42578/\354\235\230\354\203\201_\353\254\270\354\240\234\355\222\200\354\235\264.md" "b/out/production/algorithm-study/main/java/week02/pgs42578/\354\235\230\354\203\201_\353\254\270\354\240\234\355\222\200\354\235\264.md" new file mode 100644 index 0000000..efa35dc --- /dev/null +++ "b/out/production/algorithm-study/main/java/week02/pgs42578/\354\235\230\354\203\201_\353\254\270\354\240\234\355\222\200\354\235\264.md" @@ -0,0 +1,49 @@ +1. 옷의 종류가 다음과 같이 있다고 가정 +- ["yellow_hat", "headgear"] +- ["blue_sunglasses", "eyewear"] +- ["green_turban", "headgear"] + +2. 해당 옷을 입는경우와 안입는 경우 두가지 경우의 수를 만듦 + +3. 의상 문제 조합 원리 +- 각 의상 종류별로 입을 수 있는 옷의 개수를 센다. +- 예를 들어, headgear 종류가 2개라면, headgear를 입는 경우는 2가지, 입지 않는 경우도 1가지(아무것도 안 입음)이 있다. +- 따라서 headgear에 대한 경우의 수는 (2 + 1) = 3이 된다. +- 모든 의상 종류에 대해 같은 방식으로 (옷 개수 + 1)을 곱해준다. +- 마지막에 1을 빼는 이유는, "아무것도 입지 않은 경우"를 제외하기 위해서이다. + - 즉, 모든 종류에서 아무것도 입지 않는 경우는 조합에 포함시키지 않으므로 -1을 해준다. + +### 예시 + +- 의상 종류별 옷 개수: + - headgear: 2개 ("yellow_hat", "green_turban") + - eyewear: 1개 ("blue_sunglasses") + +- 경우의 수 계산 + 1. headgear 경우의 수 = 2 + 1 = 3 (두 가지 옷 중 하나를 입거나 아무것도 안 입는 경우) + 2. eyewear 경우의 수 = 1 + 1 = 2 (한 가지 옷을 입거나 안 입는 경우) + +- 전체 경우의 수 = 3 * 2 = 6 + +- 여기서 아무것도 입지 않은 경우(머리도 안 쓰고, 안경도 안 씀)를 빼줘야 하므로, + - 최종 경우의 수 = 6 - 1 = 5 + +| headgear 선택 | eyewear 선택 | 비고 | +|---------------|---------------|------| +| yellow_hat | blue_sunglasses | ✅ | +| green_turban | blue_sunglasses | ✅ | +| yellow_hat | 안 입음 | ✅ | +| green_turban | 안 입음 | ✅ | +| 안 입음 | blue_sunglasses | ✅ | +| 안 입음 | 안 입음 | 🚫 (모두 안 입음 → 제외) | + +```markdown +# 전체 경우의 수 목록 예시 +1. yellow_hat +2. green_turban +3. blue_sunglasses +4. yellow_hat + blue_sunglasses +5. green_turban + blue_sunglasses +``` + +- 따라서, 옷을 조합하여 입는 모든 경우의 수는 5가지가 된다. \ No newline at end of file diff --git a/out/production/algorithm-study/main/java/week03/boj9012/README.md b/out/production/algorithm-study/main/java/week03/boj9012/README.md new file mode 100644 index 0000000..4b1efc5 --- /dev/null +++ b/out/production/algorithm-study/main/java/week03/boj9012/README.md @@ -0,0 +1,25 @@ +# 문제 +괄호 문자열(Parenthesis String, PS)은 두 개의 괄호 기호인 ‘(’ 와 ‘)’ 만으로 구성되어 있는 문자열이다. +그 중에서 괄호의 모양이 바르게 구성된 문자열을 올바른 괄호 문자열(Valid PS, VPS)이라고 부른다. +한 쌍의 괄호 기호로 된 “( )” 문자열은 기본 VPS 이라고 부른다. +만일 x 가 VPS 라면 이것을 하나의 괄호에 넣은 새로운 문자열 “(x)”도 VPS 가 된다. +그리고 두 VPS x 와 y를 접합(concatenation)시킨 새로운 문자열 xy도 VPS 가 된다. +예를 들어 “(())()”와 “((()))” 는 VPS 이지만 “(()(”, “(())()))” , 그리고 “(()” 는 모두 VPS 가 아닌 문자열이다. +입력으로 주어진 괄호 문자열이 VPS 인지 아닌지를 판단해서 그 결과를 YES 와 NO 로 나타내어야 한다. + +# 입력 +입력은 T개의 테스트 데이터로 주어진다. +입력의 첫 번째 줄에는 입력 데이터의 수를 나타내는 정수 T가 주어진다. +각 테스트 데이터의 첫째 줄에는 괄호 문자열이 한 줄에 주어진다. +하나의 괄호 문자열의 길이는 2 이상 50 이하이다. +만일 입력 괄호 문자열이 올바른 괄호 문자열(VPS)이면 “YES”, 아니면 “NO”를 한 줄에 하나씩 차례대로 출력해야 한다. + +--- +# 풀이 +- '(' 와 ')' 는 한 세트이다. +- '(' 가 등장한 경우 stack에 넣어주기만 한다. (push) +- ')' 가 등장한 경우 stack이 비었는지 확인한다. + - stack이 비었다면 짝이 맞지 않다. (VPS가 아니다.) -> NO + - stack이 비지 않았다면 짝을 맞춰주기 위해 스택에서 '(' 를 하나 제거한다. (pop) +- 반복문에서 출력하지 않고 StringBuilder에 append 해주기 위해 boolean 값으로 판별 +- 마지막까지 확인한 뒤 스택이 비었거나, boolean 값이 true 라면 YES, 비어있지 않다면 짝이 맞지 않으므로 NO diff --git "a/out/production/algorithm-study/main/java/week03/boj9012/\352\264\204\355\230\270_\354\226\221\353\257\274\354\204\255.class" "b/out/production/algorithm-study/main/java/week03/boj9012/\352\264\204\355\230\270_\354\226\221\353\257\274\354\204\255.class" new file mode 100644 index 0000000..a78428a Binary files /dev/null and "b/out/production/algorithm-study/main/java/week03/boj9012/\352\264\204\355\230\270_\354\226\221\353\257\274\354\204\255.class" differ diff --git a/out/production/algorithm-study/main/java/week04/boj10845/.gitkeep b/out/production/algorithm-study/main/java/week04/boj10845/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git "a/out/production/algorithm-study/main/java/week04/boj10845/\355\201\220_\354\226\221\353\257\274\354\204\255.class" "b/out/production/algorithm-study/main/java/week04/boj10845/\355\201\220_\354\226\221\353\257\274\354\204\255.class" new file mode 100644 index 0000000..f3eddc6 Binary files /dev/null and "b/out/production/algorithm-study/main/java/week04/boj10845/\355\201\220_\354\226\221\353\257\274\354\204\255.class" differ diff --git a/out/production/algorithm-study/main/java/week04/boj11866/.gitkeep b/out/production/algorithm-study/main/java/week04/boj11866/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/out/production/algorithm-study/main/java/week04/boj11866/README.md b/out/production/algorithm-study/main/java/week04/boj11866/README.md new file mode 100644 index 0000000..96359b3 --- /dev/null +++ b/out/production/algorithm-study/main/java/week04/boj11866/README.md @@ -0,0 +1,56 @@ +# 문제 +1번부터 N번까지 N명의 사람이 원을 이루면서 앉아있고, 양의 정수 K(≤ N)가 주어진다. +이제 순서대로 K번째 사람을 제거한다. +한 사람이 제거되면 남은 사람들로 이루어진 원을 따라 이 과정을 계속해 나간다. +이 과정은 N명의 사람이 모두 제거될 때까지 계속된다. +원에서 사람들이 제거되는 순서를 (N, K)-요세푸스 순열이라고 한다. +예를 들어 (7, 3)-요세푸스 순열은 <3, 6, 2, 7, 5, 1, 4>이다. + +N과 K가 주어지면 (N, K)-요세푸스 순열을 구하는 프로그램을 작성하시오. + +<입력> +첫째 줄에 N과 K가 빈 칸을 사이에 두고 순서대로 주어진다. (1 ≤ K ≤ N ≤ 1,000) + +<출력> +예제와 같이 요세푸스 순열을 출력한다. + +<예제 입력> 7 3 +<예제 출력> <3, 6, 2, 7, 5, 1, 4> + +--- + +# 풀이 +- 큐에 들어있는 수를 계속해서 반복해야 하기 때문에 선택되지 않은 수는 다시 큐의 제일 뒤로 들어간다. +- 예) + - round1 + - loop1. {1, 2, 3, 4, 5, 6, 7} -> {2, 3, 4, 5, 6, 7, 1} / 결과 {} + - loop2. {2, 3, 4, 5, 6, 7, 1} -> {3, 4, 5, 6, 7, 1, 2} / 결과 {} + - loop3. {3, 4, 5, 6, 7, 1, 2} -> {4, 5, 6, 7, 1, 2} / 결과 {3} + + - round2 + - loop1. {4, 5, 6, 7, 1, 2} -> {5, 6, 7, 1, 2, 4} / 결과 {3} + - loop2. {5, 6, 7, 1, 2, 4} -> {6, 7, 1, 2, 4, 5} / 결과 {3} + - loop3. {6, 7, 1, 2, 4, 5} -> {7, 1, 2, 4, 5} / 결과 {3, 6} + + - round3 + - loop1. {7, 1, 2, 4, 5} -> {1, 2, 4, 5, 7} / 결과 {3, 6} + - loop2. {1, 2, 4, 5, 7} -> {2, 4, 5, 7, 1} / 결과 {3, 6} + - loop3. {2, 4, 5, 7, 1} -> {4, 5, 7, 1} / 결과 {3, 6, 2} + + - round4 + - loop1. {4, 5, 7, 1} -> {5, 7, 1, 4} / 결과 {3, 6, 2} + - loop2. {5, 7, 1, 4} -> {7, 1, 4, 5} / 결과 {3, 6, 2} + - loop3. {7, 1, 4, 5} -> {1, 4, 5} / 결과 {3, 6, 2, 7} + + - round5 + - loop1. {1, 4, 5} -> {4, 5, 1} / 결과 {3, 6, 2, 7} + - loop2. {4, 5, 1} -> {5, 1, 4} / 결과 {3, 6, 2, 7} + - loop3. {5, 1, 4} -> {1, 4} / 결과 {3, 6, 2, 7, 5} + + - round6 + - loop1. {1, 4} -> {4, 1} / 결과 {3, 6, 2, 7, 5} + - loop2. {4, 1} -> {1, 4} / 결과 {3, 6, 2, 7, 5} + - loop3. {1, 4} -> {4} / 결과 {3, 6, 2, 7, 5, 1} + + - round7 + - 값이 하나만 남았기 때문에 루프를 돌지 않고 바로 결과값에 추가한다. \ No newline at end of file diff --git "a/out/production/algorithm-study/main/java/week04/boj11866/\354\232\224\354\204\270\355\221\270\354\212\244\353\254\270\354\240\234_\354\226\221\353\257\274\354\204\255.class" "b/out/production/algorithm-study/main/java/week04/boj11866/\354\232\224\354\204\270\355\221\270\354\212\244\353\254\270\354\240\234_\354\226\221\353\257\274\354\204\255.class" new file mode 100644 index 0000000..4394a14 Binary files /dev/null and "b/out/production/algorithm-study/main/java/week04/boj11866/\354\232\224\354\204\270\355\221\270\354\212\244\353\254\270\354\240\234_\354\226\221\353\257\274\354\204\255.class" differ diff --git a/out/production/algorithm-study/main/java/week04/boj2164/.gitkeep b/out/production/algorithm-study/main/java/week04/boj2164/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git "a/out/production/algorithm-study/main/java/week04/boj2164/\354\271\264\353\223\2342_\354\226\221\353\257\274\354\204\255.class" "b/out/production/algorithm-study/main/java/week04/boj2164/\354\271\264\353\223\2342_\354\226\221\353\257\274\354\204\255.class" new file mode 100644 index 0000000..1780e8a Binary files /dev/null and "b/out/production/algorithm-study/main/java/week04/boj2164/\354\271\264\353\223\2342_\354\226\221\353\257\274\354\204\255.class" differ diff --git a/out/production/algorithm-study/main/java/week05/boj13417/.gitkeep b/out/production/algorithm-study/main/java/week05/boj13417/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git "a/out/production/algorithm-study/main/java/week05/boj13417/\354\271\264\353\223\234\353\254\270\354\236\220\354\227\264_\354\226\221\353\257\274\354\204\255.class" "b/out/production/algorithm-study/main/java/week05/boj13417/\354\271\264\353\223\234\353\254\270\354\236\220\354\227\264_\354\226\221\353\257\274\354\204\255.class" new file mode 100644 index 0000000..8bf2229 Binary files /dev/null and "b/out/production/algorithm-study/main/java/week05/boj13417/\354\271\264\353\223\234\353\254\270\354\236\220\354\227\264_\354\226\221\353\257\274\354\204\255.class" differ diff --git a/out/production/algorithm-study/main/java/week05/boj20301/.gitkeep b/out/production/algorithm-study/main/java/week05/boj20301/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git "a/out/production/algorithm-study/main/java/week05/boj20301/\353\260\230\354\240\204_\354\232\224\354\204\270\355\221\270\354\212\244_\354\226\221\353\257\274\354\204\255.class" "b/out/production/algorithm-study/main/java/week05/boj20301/\353\260\230\354\240\204_\354\232\224\354\204\270\355\221\270\354\212\244_\354\226\221\353\257\274\354\204\255.class" new file mode 100644 index 0000000..5312241 Binary files /dev/null and "b/out/production/algorithm-study/main/java/week05/boj20301/\353\260\230\354\240\204_\354\232\224\354\204\270\355\221\270\354\212\244_\354\226\221\353\257\274\354\204\255.class" differ diff --git a/out/production/algorithm-study/main/java/week05/boj2346/.gitkeep b/out/production/algorithm-study/main/java/week05/boj2346/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git "a/out/production/algorithm-study/main/java/week05/boj2346/\355\222\215\354\204\240_\355\204\260\353\234\250\353\246\254\352\270\260_\354\226\221\353\257\274\354\204\255.class" "b/out/production/algorithm-study/main/java/week05/boj2346/\355\222\215\354\204\240_\355\204\260\353\234\250\353\246\254\352\270\260_\354\226\221\353\257\274\354\204\255.class" new file mode 100644 index 0000000..cbe88b3 Binary files /dev/null and "b/out/production/algorithm-study/main/java/week05/boj2346/\355\222\215\354\204\240_\355\204\260\353\234\250\353\246\254\352\270\260_\354\226\221\353\257\274\354\204\255.class" differ diff --git "a/out/production/algorithm-study/week01/boj15649/N\352\263\274M01_\353\260\225\353\202\230\355\230\204.class" "b/out/production/algorithm-study/week01/boj15649/N\352\263\274M01_\353\260\225\353\202\230\355\230\204.class" new file mode 100644 index 0000000..cff7c7c Binary files /dev/null and "b/out/production/algorithm-study/week01/boj15649/N\352\263\274M01_\353\260\225\353\202\230\355\230\204.class" differ diff --git "a/out/production/algorithm-study/week01/boj15649/N\352\263\274M01_\354\240\225\353\213\244\355\235\254.class" "b/out/production/algorithm-study/week01/boj15649/N\352\263\274M01_\354\240\225\353\213\244\355\235\254.class" new file mode 100644 index 0000000..9bc3285 Binary files /dev/null and "b/out/production/algorithm-study/week01/boj15649/N\352\263\274M01_\354\240\225\353\213\244\355\235\254.class" differ diff --git "a/out/production/algorithm-study/week01/boj15649/N\352\263\274M_1_\352\271\200\354\236\254\355\233\210.class" "b/out/production/algorithm-study/week01/boj15649/N\352\263\274M_1_\352\271\200\354\236\254\355\233\210.class" new file mode 100644 index 0000000..7ee3687 Binary files /dev/null and "b/out/production/algorithm-study/week01/boj15649/N\352\263\274M_1_\352\271\200\354\236\254\355\233\210.class" differ diff --git "a/out/production/algorithm-study/week01/boj15649/N\352\263\274M_\354\213\254\353\257\274\354\225\204.class" "b/out/production/algorithm-study/week01/boj15649/N\352\263\274M_\354\213\254\353\257\274\354\225\204.class" new file mode 100644 index 0000000..bdae3f1 Binary files /dev/null and "b/out/production/algorithm-study/week01/boj15649/N\352\263\274M_\354\213\254\353\257\274\354\225\204.class" differ diff --git "a/out/production/algorithm-study/week01/boj15649/N\352\263\274M_\354\235\264\355\225\264\354\235\270.class" "b/out/production/algorithm-study/week01/boj15649/N\352\263\274M_\354\235\264\355\225\264\354\235\270.class" new file mode 100644 index 0000000..c9a300c Binary files /dev/null and "b/out/production/algorithm-study/week01/boj15649/N\352\263\274M_\354\235\264\355\225\264\354\235\270.class" differ diff --git "a/out/production/algorithm-study/week01/boj1978/\354\206\214\354\210\230\354\260\276\352\270\260_\352\271\200\354\236\254\355\233\210.class" "b/out/production/algorithm-study/week01/boj1978/\354\206\214\354\210\230\354\260\276\352\270\260_\352\271\200\354\236\254\355\233\210.class" new file mode 100644 index 0000000..b7c8c5d Binary files /dev/null and "b/out/production/algorithm-study/week01/boj1978/\354\206\214\354\210\230\354\260\276\352\270\260_\352\271\200\354\236\254\355\233\210.class" differ diff --git "a/out/production/algorithm-study/week01/boj1978/\354\206\214\354\210\230\354\260\276\352\270\260_\353\260\225\353\202\230\355\230\204.class" "b/out/production/algorithm-study/week01/boj1978/\354\206\214\354\210\230\354\260\276\352\270\260_\353\260\225\353\202\230\355\230\204.class" new file mode 100644 index 0000000..308fea9 Binary files /dev/null and "b/out/production/algorithm-study/week01/boj1978/\354\206\214\354\210\230\354\260\276\352\270\260_\353\260\225\353\202\230\355\230\204.class" differ diff --git "a/out/production/algorithm-study/week01/boj1978/\354\206\214\354\210\230\354\260\276\352\270\260_\354\213\254\353\257\274\354\225\204.class" "b/out/production/algorithm-study/week01/boj1978/\354\206\214\354\210\230\354\260\276\352\270\260_\354\213\254\353\257\274\354\225\204.class" new file mode 100644 index 0000000..a458409 Binary files /dev/null and "b/out/production/algorithm-study/week01/boj1978/\354\206\214\354\210\230\354\260\276\352\270\260_\354\213\254\353\257\274\354\225\204.class" differ diff --git "a/out/production/algorithm-study/week01/boj1978/\354\206\214\354\210\230\354\260\276\352\270\260_\354\235\264\355\225\264\354\235\270.class" "b/out/production/algorithm-study/week01/boj1978/\354\206\214\354\210\230\354\260\276\352\270\260_\354\235\264\355\225\264\354\235\270.class" new file mode 100644 index 0000000..bb03c02 Binary files /dev/null and "b/out/production/algorithm-study/week01/boj1978/\354\206\214\354\210\230\354\260\276\352\270\260_\354\235\264\355\225\264\354\235\270.class" differ diff --git "a/out/production/algorithm-study/week01/boj1978/\354\206\214\354\210\230\354\260\276\352\270\260_\354\240\225\353\213\244\355\235\254.class" "b/out/production/algorithm-study/week01/boj1978/\354\206\214\354\210\230\354\260\276\352\270\260_\354\240\225\353\213\244\355\235\254.class" new file mode 100644 index 0000000..399118e Binary files /dev/null and "b/out/production/algorithm-study/week01/boj1978/\354\206\214\354\210\230\354\260\276\352\270\260_\354\240\225\353\213\244\355\235\254.class" differ diff --git "a/out/production/algorithm-study/week01/boj2609/\354\265\234\353\214\200\352\263\265\354\225\275\354\210\230\354\231\200\354\265\234\354\206\214\352\263\265\353\260\260\354\210\230_\352\271\200\354\236\254\355\233\210.class" "b/out/production/algorithm-study/week01/boj2609/\354\265\234\353\214\200\352\263\265\354\225\275\354\210\230\354\231\200\354\265\234\354\206\214\352\263\265\353\260\260\354\210\230_\352\271\200\354\236\254\355\233\210.class" new file mode 100644 index 0000000..f85e6eb Binary files /dev/null and "b/out/production/algorithm-study/week01/boj2609/\354\265\234\353\214\200\352\263\265\354\225\275\354\210\230\354\231\200\354\265\234\354\206\214\352\263\265\353\260\260\354\210\230_\352\271\200\354\236\254\355\233\210.class" differ diff --git "a/out/production/algorithm-study/week01/boj2609/\354\265\234\353\214\200\352\263\265\354\225\275\354\210\230\354\231\200\354\265\234\354\206\214\352\263\265\353\260\260\354\210\230_\353\260\225\353\202\230\355\230\204.class" "b/out/production/algorithm-study/week01/boj2609/\354\265\234\353\214\200\352\263\265\354\225\275\354\210\230\354\231\200\354\265\234\354\206\214\352\263\265\353\260\260\354\210\230_\353\260\225\353\202\230\355\230\204.class" new file mode 100644 index 0000000..d8fa76f Binary files /dev/null and "b/out/production/algorithm-study/week01/boj2609/\354\265\234\353\214\200\352\263\265\354\225\275\354\210\230\354\231\200\354\265\234\354\206\214\352\263\265\353\260\260\354\210\230_\353\260\225\353\202\230\355\230\204.class" differ diff --git "a/out/production/algorithm-study/week01/boj2609/\354\265\234\353\214\200\352\263\265\354\225\275\354\210\230\354\231\200\354\265\234\354\206\214\352\263\265\353\260\260\354\210\230_\354\213\254\353\257\274\354\225\204.class" "b/out/production/algorithm-study/week01/boj2609/\354\265\234\353\214\200\352\263\265\354\225\275\354\210\230\354\231\200\354\265\234\354\206\214\352\263\265\353\260\260\354\210\230_\354\213\254\353\257\274\354\225\204.class" new file mode 100644 index 0000000..f441aa9 Binary files /dev/null and "b/out/production/algorithm-study/week01/boj2609/\354\265\234\353\214\200\352\263\265\354\225\275\354\210\230\354\231\200\354\265\234\354\206\214\352\263\265\353\260\260\354\210\230_\354\213\254\353\257\274\354\225\204.class" differ diff --git "a/out/production/algorithm-study/week01/boj2609/\354\265\234\353\214\200\352\263\265\354\225\275\354\210\230\354\231\200\354\265\234\354\206\214\352\263\265\353\260\260\354\210\230_\354\235\264\355\225\264\354\235\270.class" "b/out/production/algorithm-study/week01/boj2609/\354\265\234\353\214\200\352\263\265\354\225\275\354\210\230\354\231\200\354\265\234\354\206\214\352\263\265\353\260\260\354\210\230_\354\235\264\355\225\264\354\235\270.class" new file mode 100644 index 0000000..0077d27 Binary files /dev/null and "b/out/production/algorithm-study/week01/boj2609/\354\265\234\353\214\200\352\263\265\354\225\275\354\210\230\354\231\200\354\265\234\354\206\214\352\263\265\353\260\260\354\210\230_\354\235\264\355\225\264\354\235\270.class" differ diff --git "a/out/production/algorithm-study/week01/boj2609/\354\265\234\353\214\200\352\263\265\354\225\275\354\210\230\354\231\200\354\265\234\354\206\214\352\263\265\353\260\260\354\210\230_\354\240\225\353\213\244\355\235\254.class" "b/out/production/algorithm-study/week01/boj2609/\354\265\234\353\214\200\352\263\265\354\225\275\354\210\230\354\231\200\354\265\234\354\206\214\352\263\265\353\260\260\354\210\230_\354\240\225\353\213\244\355\235\254.class" new file mode 100644 index 0000000..85cd964 Binary files /dev/null and "b/out/production/algorithm-study/week01/boj2609/\354\265\234\353\214\200\352\263\265\354\225\275\354\210\230\354\231\200\354\265\234\354\206\214\352\263\265\353\260\260\354\210\230_\354\240\225\353\213\244\355\235\254.class" differ diff --git "a/out/production/algorithm-study/week01/boj6603/\353\241\234\353\230\220_\352\271\200\354\236\254\355\233\210.class" "b/out/production/algorithm-study/week01/boj6603/\353\241\234\353\230\220_\352\271\200\354\236\254\355\233\210.class" new file mode 100644 index 0000000..53c85e2 Binary files /dev/null and "b/out/production/algorithm-study/week01/boj6603/\353\241\234\353\230\220_\352\271\200\354\236\254\355\233\210.class" differ diff --git "a/out/production/algorithm-study/week01/boj6603/\353\241\234\353\230\220_\353\260\225\353\202\230\355\230\204.class" "b/out/production/algorithm-study/week01/boj6603/\353\241\234\353\230\220_\353\260\225\353\202\230\355\230\204.class" new file mode 100644 index 0000000..fa8d7bb Binary files /dev/null and "b/out/production/algorithm-study/week01/boj6603/\353\241\234\353\230\220_\353\260\225\353\202\230\355\230\204.class" differ diff --git "a/out/production/algorithm-study/week01/boj6603/\353\241\234\353\230\220_\354\213\254\353\257\274\354\225\204.class" "b/out/production/algorithm-study/week01/boj6603/\353\241\234\353\230\220_\354\213\254\353\257\274\354\225\204.class" new file mode 100644 index 0000000..6a29e0d Binary files /dev/null and "b/out/production/algorithm-study/week01/boj6603/\353\241\234\353\230\220_\354\213\254\353\257\274\354\225\204.class" differ diff --git "a/out/production/algorithm-study/week01/boj6603/\353\241\234\353\230\220_\354\235\264\355\225\264\354\235\270.class" "b/out/production/algorithm-study/week01/boj6603/\353\241\234\353\230\220_\354\235\264\355\225\264\354\235\270.class" new file mode 100644 index 0000000..2ca025d Binary files /dev/null and "b/out/production/algorithm-study/week01/boj6603/\353\241\234\353\230\220_\354\235\264\355\225\264\354\235\270.class" differ diff --git "a/out/production/algorithm-study/week01/boj6603/\353\241\234\353\230\220_\354\240\225\353\213\244\355\235\254.class" "b/out/production/algorithm-study/week01/boj6603/\353\241\234\353\230\220_\354\240\225\353\213\244\355\235\254.class" new file mode 100644 index 0000000..b18e1cb Binary files /dev/null and "b/out/production/algorithm-study/week01/boj6603/\353\241\234\353\230\220_\354\240\225\353\213\244\355\235\254.class" differ diff --git "a/out/production/algorithm-study/week01/boj9020/\352\263\250\353\223\234\353\260\224\355\235\220\354\235\230\354\266\224\354\270\241_\352\271\200\354\236\254\355\233\210.class" "b/out/production/algorithm-study/week01/boj9020/\352\263\250\353\223\234\353\260\224\355\235\220\354\235\230\354\266\224\354\270\241_\352\271\200\354\236\254\355\233\210.class" new file mode 100644 index 0000000..fe7e3db Binary files /dev/null and "b/out/production/algorithm-study/week01/boj9020/\352\263\250\353\223\234\353\260\224\355\235\220\354\235\230\354\266\224\354\270\241_\352\271\200\354\236\254\355\233\210.class" differ diff --git "a/out/production/algorithm-study/week01/boj9020/\352\263\250\353\223\234\353\260\224\355\235\220\354\235\230\354\266\224\354\270\241_\353\260\225\353\202\230\355\230\204.class" "b/out/production/algorithm-study/week01/boj9020/\352\263\250\353\223\234\353\260\224\355\235\220\354\235\230\354\266\224\354\270\241_\353\260\225\353\202\230\355\230\204.class" new file mode 100644 index 0000000..ace1a3e Binary files /dev/null and "b/out/production/algorithm-study/week01/boj9020/\352\263\250\353\223\234\353\260\224\355\235\220\354\235\230\354\266\224\354\270\241_\353\260\225\353\202\230\355\230\204.class" differ diff --git "a/out/production/algorithm-study/week01/boj9020/\352\263\250\353\223\234\353\260\224\355\235\220\354\235\230\354\266\224\354\270\241_\354\213\254\353\257\274\354\225\204.class" "b/out/production/algorithm-study/week01/boj9020/\352\263\250\353\223\234\353\260\224\355\235\220\354\235\230\354\266\224\354\270\241_\354\213\254\353\257\274\354\225\204.class" new file mode 100644 index 0000000..f322546 Binary files /dev/null and "b/out/production/algorithm-study/week01/boj9020/\352\263\250\353\223\234\353\260\224\355\235\220\354\235\230\354\266\224\354\270\241_\354\213\254\353\257\274\354\225\204.class" differ diff --git "a/out/production/algorithm-study/week01/boj9020/\352\263\250\353\223\234\353\260\224\355\235\220\354\235\230\354\266\224\354\270\241_\354\235\264\355\225\264\354\235\270.class" "b/out/production/algorithm-study/week01/boj9020/\352\263\250\353\223\234\353\260\224\355\235\220\354\235\230\354\266\224\354\270\241_\354\235\264\355\225\264\354\235\270.class" new file mode 100644 index 0000000..4af99e3 Binary files /dev/null and "b/out/production/algorithm-study/week01/boj9020/\352\263\250\353\223\234\353\260\224\355\235\220\354\235\230\354\266\224\354\270\241_\354\235\264\355\225\264\354\235\270.class" differ diff --git "a/out/production/algorithm-study/week01/boj9020/\352\263\250\353\223\234\353\260\224\355\235\220\354\235\230\354\266\224\354\270\241_\354\240\225\353\213\244\355\235\254.class" "b/out/production/algorithm-study/week01/boj9020/\352\263\250\353\223\234\353\260\224\355\235\220\354\235\230\354\266\224\354\270\241_\354\240\225\353\213\244\355\235\254.class" new file mode 100644 index 0000000..24527fb Binary files /dev/null and "b/out/production/algorithm-study/week01/boj9020/\352\263\250\353\223\234\353\260\224\355\235\220\354\235\230\354\266\224\354\270\241_\354\240\225\353\213\244\355\235\254.class" differ diff --git "a/out/production/algorithm-study/week02/boj17219/\353\271\204\353\260\200\353\262\210\355\230\270\354\260\276\352\270\260_\352\271\200\354\236\254\355\233\210.class" "b/out/production/algorithm-study/week02/boj17219/\353\271\204\353\260\200\353\262\210\355\230\270\354\260\276\352\270\260_\352\271\200\354\236\254\355\233\210.class" new file mode 100644 index 0000000..fdf0af5 Binary files /dev/null and "b/out/production/algorithm-study/week02/boj17219/\353\271\204\353\260\200\353\262\210\355\230\270\354\260\276\352\270\260_\352\271\200\354\236\254\355\233\210.class" differ diff --git "a/out/production/algorithm-study/week02/boj17219/\353\271\204\353\260\200\353\262\210\355\230\270\354\260\276\352\270\260_\353\260\225\353\202\230\355\230\204.class" "b/out/production/algorithm-study/week02/boj17219/\353\271\204\353\260\200\353\262\210\355\230\270\354\260\276\352\270\260_\353\260\225\353\202\230\355\230\204.class" new file mode 100644 index 0000000..2d00b72 Binary files /dev/null and "b/out/production/algorithm-study/week02/boj17219/\353\271\204\353\260\200\353\262\210\355\230\270\354\260\276\352\270\260_\353\260\225\353\202\230\355\230\204.class" differ diff --git "a/out/production/algorithm-study/week02/boj17219/\353\271\204\353\260\200\353\262\210\355\230\270\354\260\276\352\270\260_\354\213\254\353\257\274\354\225\204.class" "b/out/production/algorithm-study/week02/boj17219/\353\271\204\353\260\200\353\262\210\355\230\270\354\260\276\352\270\260_\354\213\254\353\257\274\354\225\204.class" new file mode 100644 index 0000000..25025a7 Binary files /dev/null and "b/out/production/algorithm-study/week02/boj17219/\353\271\204\353\260\200\353\262\210\355\230\270\354\260\276\352\270\260_\354\213\254\353\257\274\354\225\204.class" differ diff --git "a/out/production/algorithm-study/week02/boj17219/\353\271\204\353\260\200\353\262\210\355\230\270\354\260\276\352\270\260_\354\235\264\355\225\264\354\235\270.class" "b/out/production/algorithm-study/week02/boj17219/\353\271\204\353\260\200\353\262\210\355\230\270\354\260\276\352\270\260_\354\235\264\355\225\264\354\235\270.class" new file mode 100644 index 0000000..bf9b3fa Binary files /dev/null and "b/out/production/algorithm-study/week02/boj17219/\353\271\204\353\260\200\353\262\210\355\230\270\354\260\276\352\270\260_\354\235\264\355\225\264\354\235\270.class" differ diff --git "a/out/production/algorithm-study/week02/boj17219/\353\271\204\353\260\200\353\262\210\355\230\270\354\260\276\352\270\260_\354\240\225\353\213\244\355\235\254.class" "b/out/production/algorithm-study/week02/boj17219/\353\271\204\353\260\200\353\262\210\355\230\270\354\260\276\352\270\260_\354\240\225\353\213\244\355\235\254.class" new file mode 100644 index 0000000..260b93b Binary files /dev/null and "b/out/production/algorithm-study/week02/boj17219/\353\271\204\353\260\200\353\262\210\355\230\270\354\260\276\352\270\260_\354\240\225\353\213\244\355\235\254.class" differ diff --git "a/out/production/algorithm-study/week02/boj1764/\353\223\243\353\263\264\354\236\241_\352\271\200\354\236\254\355\233\210.class" "b/out/production/algorithm-study/week02/boj1764/\353\223\243\353\263\264\354\236\241_\352\271\200\354\236\254\355\233\210.class" new file mode 100644 index 0000000..36e6434 Binary files /dev/null and "b/out/production/algorithm-study/week02/boj1764/\353\223\243\353\263\264\354\236\241_\352\271\200\354\236\254\355\233\210.class" differ diff --git "a/out/production/algorithm-study/week02/boj1764/\353\223\243\353\263\264\354\236\241_\353\260\225\353\202\230\355\230\204.class" "b/out/production/algorithm-study/week02/boj1764/\353\223\243\353\263\264\354\236\241_\353\260\225\353\202\230\355\230\204.class" new file mode 100644 index 0000000..e5922ec Binary files /dev/null and "b/out/production/algorithm-study/week02/boj1764/\353\223\243\353\263\264\354\236\241_\353\260\225\353\202\230\355\230\204.class" differ diff --git "a/out/production/algorithm-study/week02/boj1764/\353\223\243\353\263\264\354\236\241_\354\213\254\353\257\274\354\225\204.class" "b/out/production/algorithm-study/week02/boj1764/\353\223\243\353\263\264\354\236\241_\354\213\254\353\257\274\354\225\204.class" new file mode 100644 index 0000000..5329751 Binary files /dev/null and "b/out/production/algorithm-study/week02/boj1764/\353\223\243\353\263\264\354\236\241_\354\213\254\353\257\274\354\225\204.class" differ diff --git "a/out/production/algorithm-study/week02/boj1764/\353\223\243\353\263\264\354\236\241_\354\235\264\355\225\264\354\235\270.class" "b/out/production/algorithm-study/week02/boj1764/\353\223\243\353\263\264\354\236\241_\354\235\264\355\225\264\354\235\270.class" new file mode 100644 index 0000000..415b41d Binary files /dev/null and "b/out/production/algorithm-study/week02/boj1764/\353\223\243\353\263\264\354\236\241_\354\235\264\355\225\264\354\235\270.class" differ diff --git "a/out/production/algorithm-study/week02/boj1764/\353\223\243\353\263\264\354\236\241_\354\240\225\353\213\244\355\235\254.class" "b/out/production/algorithm-study/week02/boj1764/\353\223\243\353\263\264\354\236\241_\354\240\225\353\213\244\355\235\254.class" new file mode 100644 index 0000000..13c46d3 Binary files /dev/null and "b/out/production/algorithm-study/week02/boj1764/\353\223\243\353\263\264\354\236\241_\354\240\225\353\213\244\355\235\254.class" differ diff --git "a/out/production/algorithm-study/week02/pgs1845/\355\217\260\354\274\223\353\252\254_\352\271\200\354\236\254\355\233\210.class" "b/out/production/algorithm-study/week02/pgs1845/\355\217\260\354\274\223\353\252\254_\352\271\200\354\236\254\355\233\210.class" new file mode 100644 index 0000000..c84a890 Binary files /dev/null and "b/out/production/algorithm-study/week02/pgs1845/\355\217\260\354\274\223\353\252\254_\352\271\200\354\236\254\355\233\210.class" differ diff --git "a/out/production/algorithm-study/week02/pgs1845/\355\217\260\354\274\223\353\252\254_\353\260\225\353\202\230\355\230\204$Solution.class" "b/out/production/algorithm-study/week02/pgs1845/\355\217\260\354\274\223\353\252\254_\353\260\225\353\202\230\355\230\204$Solution.class" new file mode 100644 index 0000000..6de47e0 Binary files /dev/null and "b/out/production/algorithm-study/week02/pgs1845/\355\217\260\354\274\223\353\252\254_\353\260\225\353\202\230\355\230\204$Solution.class" differ diff --git "a/out/production/algorithm-study/week02/pgs1845/\355\217\260\354\274\223\353\252\254_\353\260\225\353\202\230\355\230\204.class" "b/out/production/algorithm-study/week02/pgs1845/\355\217\260\354\274\223\353\252\254_\353\260\225\353\202\230\355\230\204.class" new file mode 100644 index 0000000..79f599e Binary files /dev/null and "b/out/production/algorithm-study/week02/pgs1845/\355\217\260\354\274\223\353\252\254_\353\260\225\353\202\230\355\230\204.class" differ diff --git "a/out/production/algorithm-study/week02/pgs1845/\355\217\260\354\274\223\353\252\254_\354\213\254\353\257\274\354\225\204$Solution.class" "b/out/production/algorithm-study/week02/pgs1845/\355\217\260\354\274\223\353\252\254_\354\213\254\353\257\274\354\225\204$Solution.class" new file mode 100644 index 0000000..bd58110 Binary files /dev/null and "b/out/production/algorithm-study/week02/pgs1845/\355\217\260\354\274\223\353\252\254_\354\213\254\353\257\274\354\225\204$Solution.class" differ diff --git "a/out/production/algorithm-study/week02/pgs1845/\355\217\260\354\274\223\353\252\254_\354\213\254\353\257\274\354\225\204.class" "b/out/production/algorithm-study/week02/pgs1845/\355\217\260\354\274\223\353\252\254_\354\213\254\353\257\274\354\225\204.class" new file mode 100644 index 0000000..b666115 Binary files /dev/null and "b/out/production/algorithm-study/week02/pgs1845/\355\217\260\354\274\223\353\252\254_\354\213\254\353\257\274\354\225\204.class" differ diff --git "a/out/production/algorithm-study/week02/pgs1845/\355\217\260\354\274\223\353\252\254_\354\235\264\355\225\264\354\235\270.class" "b/out/production/algorithm-study/week02/pgs1845/\355\217\260\354\274\223\353\252\254_\354\235\264\355\225\264\354\235\270.class" new file mode 100644 index 0000000..a2c7d00 Binary files /dev/null and "b/out/production/algorithm-study/week02/pgs1845/\355\217\260\354\274\223\353\252\254_\354\235\264\355\225\264\354\235\270.class" differ diff --git "a/out/production/algorithm-study/week02/pgs1845/\355\217\260\354\274\223\353\252\254_\354\240\225\353\213\244\355\235\254.class" "b/out/production/algorithm-study/week02/pgs1845/\355\217\260\354\274\223\353\252\254_\354\240\225\353\213\244\355\235\254.class" new file mode 100644 index 0000000..987a6b0 Binary files /dev/null and "b/out/production/algorithm-study/week02/pgs1845/\355\217\260\354\274\223\353\252\254_\354\240\225\353\213\244\355\235\254.class" differ diff --git "a/out/production/algorithm-study/week02/pgs42576/\354\231\204\354\243\274\355\225\230\354\247\200\353\252\273\355\225\234\354\204\240\354\210\230_\352\271\200\354\236\254\355\233\210.class" "b/out/production/algorithm-study/week02/pgs42576/\354\231\204\354\243\274\355\225\230\354\247\200\353\252\273\355\225\234\354\204\240\354\210\230_\352\271\200\354\236\254\355\233\210.class" new file mode 100644 index 0000000..d5121d9 Binary files /dev/null and "b/out/production/algorithm-study/week02/pgs42576/\354\231\204\354\243\274\355\225\230\354\247\200\353\252\273\355\225\234\354\204\240\354\210\230_\352\271\200\354\236\254\355\233\210.class" differ diff --git "a/out/production/algorithm-study/week02/pgs42576/\354\231\204\354\243\274\355\225\230\354\247\200\353\252\273\355\225\234\354\204\240\354\210\230_\353\260\225\353\202\230\355\230\204$Solution.class" "b/out/production/algorithm-study/week02/pgs42576/\354\231\204\354\243\274\355\225\230\354\247\200\353\252\273\355\225\234\354\204\240\354\210\230_\353\260\225\353\202\230\355\230\204$Solution.class" new file mode 100644 index 0000000..263536b Binary files /dev/null and "b/out/production/algorithm-study/week02/pgs42576/\354\231\204\354\243\274\355\225\230\354\247\200\353\252\273\355\225\234\354\204\240\354\210\230_\353\260\225\353\202\230\355\230\204$Solution.class" differ diff --git "a/out/production/algorithm-study/week02/pgs42576/\354\231\204\354\243\274\355\225\230\354\247\200\353\252\273\355\225\234\354\204\240\354\210\230_\353\260\225\353\202\230\355\230\204.class" "b/out/production/algorithm-study/week02/pgs42576/\354\231\204\354\243\274\355\225\230\354\247\200\353\252\273\355\225\234\354\204\240\354\210\230_\353\260\225\353\202\230\355\230\204.class" new file mode 100644 index 0000000..557cba6 Binary files /dev/null and "b/out/production/algorithm-study/week02/pgs42576/\354\231\204\354\243\274\355\225\230\354\247\200\353\252\273\355\225\234\354\204\240\354\210\230_\353\260\225\353\202\230\355\230\204.class" differ diff --git "a/out/production/algorithm-study/week02/pgs42576/\354\231\204\354\243\274\355\225\230\354\247\200\353\252\273\355\225\234\354\204\240\354\210\230_\354\213\254\353\257\274\354\225\204$Solution.class" "b/out/production/algorithm-study/week02/pgs42576/\354\231\204\354\243\274\355\225\230\354\247\200\353\252\273\355\225\234\354\204\240\354\210\230_\354\213\254\353\257\274\354\225\204$Solution.class" new file mode 100644 index 0000000..8ea292d Binary files /dev/null and "b/out/production/algorithm-study/week02/pgs42576/\354\231\204\354\243\274\355\225\230\354\247\200\353\252\273\355\225\234\354\204\240\354\210\230_\354\213\254\353\257\274\354\225\204$Solution.class" differ diff --git "a/out/production/algorithm-study/week02/pgs42576/\354\231\204\354\243\274\355\225\230\354\247\200\353\252\273\355\225\234\354\204\240\354\210\230_\354\213\254\353\257\274\354\225\204.class" "b/out/production/algorithm-study/week02/pgs42576/\354\231\204\354\243\274\355\225\230\354\247\200\353\252\273\355\225\234\354\204\240\354\210\230_\354\213\254\353\257\274\354\225\204.class" new file mode 100644 index 0000000..a6fc98e Binary files /dev/null and "b/out/production/algorithm-study/week02/pgs42576/\354\231\204\354\243\274\355\225\230\354\247\200\353\252\273\355\225\234\354\204\240\354\210\230_\354\213\254\353\257\274\354\225\204.class" differ diff --git "a/out/production/algorithm-study/week02/pgs42576/\354\231\204\354\243\274\355\225\230\354\247\200\353\252\273\355\225\234\354\204\240\354\210\230_\354\235\264\355\225\264\354\235\270.class" "b/out/production/algorithm-study/week02/pgs42576/\354\231\204\354\243\274\355\225\230\354\247\200\353\252\273\355\225\234\354\204\240\354\210\230_\354\235\264\355\225\264\354\235\270.class" new file mode 100644 index 0000000..ea6bbc2 Binary files /dev/null and "b/out/production/algorithm-study/week02/pgs42576/\354\231\204\354\243\274\355\225\230\354\247\200\353\252\273\355\225\234\354\204\240\354\210\230_\354\235\264\355\225\264\354\235\270.class" differ diff --git "a/out/production/algorithm-study/week02/pgs42576/\354\231\204\354\243\274\355\225\230\354\247\200\353\252\273\355\225\234\354\204\240\354\210\230_\354\240\225\353\213\244\355\235\254.class" "b/out/production/algorithm-study/week02/pgs42576/\354\231\204\354\243\274\355\225\230\354\247\200\353\252\273\355\225\234\354\204\240\354\210\230_\354\240\225\353\213\244\355\235\254.class" new file mode 100644 index 0000000..121c75c Binary files /dev/null and "b/out/production/algorithm-study/week02/pgs42576/\354\231\204\354\243\274\355\225\230\354\247\200\353\252\273\355\225\234\354\204\240\354\210\230_\354\240\225\353\213\244\355\235\254.class" differ diff --git a/out/production/algorithm-study/week02/pgs42577/Solution.class b/out/production/algorithm-study/week02/pgs42577/Solution.class new file mode 100644 index 0000000..549b96e Binary files /dev/null and b/out/production/algorithm-study/week02/pgs42577/Solution.class differ diff --git "a/out/production/algorithm-study/week02/pgs42577/\354\240\204\355\231\224\353\262\210\355\230\270\353\252\251\353\241\235.class" "b/out/production/algorithm-study/week02/pgs42577/\354\240\204\355\231\224\353\262\210\355\230\270\353\252\251\353\241\235.class" new file mode 100644 index 0000000..bfb12e9 Binary files /dev/null and "b/out/production/algorithm-study/week02/pgs42577/\354\240\204\355\231\224\353\262\210\355\230\270\353\252\251\353\241\235.class" differ diff --git "a/out/production/algorithm-study/week02/pgs42577/\354\240\204\355\231\224\353\262\210\355\230\270\353\252\251\353\241\235_\352\271\200\354\236\254\355\233\210.class" "b/out/production/algorithm-study/week02/pgs42577/\354\240\204\355\231\224\353\262\210\355\230\270\353\252\251\353\241\235_\352\271\200\354\236\254\355\233\210.class" new file mode 100644 index 0000000..3fd79c7 Binary files /dev/null and "b/out/production/algorithm-study/week02/pgs42577/\354\240\204\355\231\224\353\262\210\355\230\270\353\252\251\353\241\235_\352\271\200\354\236\254\355\233\210.class" differ diff --git "a/out/production/algorithm-study/week02/pgs42577/\354\240\204\355\231\224\353\262\210\355\230\270\353\252\251\353\241\235_\354\213\254\353\257\274\354\225\204$Solution.class" "b/out/production/algorithm-study/week02/pgs42577/\354\240\204\355\231\224\353\262\210\355\230\270\353\252\251\353\241\235_\354\213\254\353\257\274\354\225\204$Solution.class" new file mode 100644 index 0000000..69c17e5 Binary files /dev/null and "b/out/production/algorithm-study/week02/pgs42577/\354\240\204\355\231\224\353\262\210\355\230\270\353\252\251\353\241\235_\354\213\254\353\257\274\354\225\204$Solution.class" differ diff --git "a/out/production/algorithm-study/week02/pgs42577/\354\240\204\355\231\224\353\262\210\355\230\270\353\252\251\353\241\235_\354\213\254\353\257\274\354\225\204.class" "b/out/production/algorithm-study/week02/pgs42577/\354\240\204\355\231\224\353\262\210\355\230\270\353\252\251\353\241\235_\354\213\254\353\257\274\354\225\204.class" new file mode 100644 index 0000000..b0dfb13 Binary files /dev/null and "b/out/production/algorithm-study/week02/pgs42577/\354\240\204\355\231\224\353\262\210\355\230\270\353\252\251\353\241\235_\354\213\254\353\257\274\354\225\204.class" differ diff --git "a/out/production/algorithm-study/week02/pgs42577/\354\240\204\355\231\224\353\262\210\355\230\270\353\252\251\353\241\235_\354\240\225\353\213\244\355\235\254.class" "b/out/production/algorithm-study/week02/pgs42577/\354\240\204\355\231\224\353\262\210\355\230\270\353\252\251\353\241\235_\354\240\225\353\213\244\355\235\254.class" new file mode 100644 index 0000000..fb5536a Binary files /dev/null and "b/out/production/algorithm-study/week02/pgs42577/\354\240\204\355\231\224\353\262\210\355\230\270\353\252\251\353\241\235_\354\240\225\353\213\244\355\235\254.class" differ diff --git "a/out/production/algorithm-study/week02/pgs42578/\354\235\230\354\203\201_\352\271\200\354\236\254\355\233\210.class" "b/out/production/algorithm-study/week02/pgs42578/\354\235\230\354\203\201_\352\271\200\354\236\254\355\233\210.class" new file mode 100644 index 0000000..0530732 Binary files /dev/null and "b/out/production/algorithm-study/week02/pgs42578/\354\235\230\354\203\201_\352\271\200\354\236\254\355\233\210.class" differ diff --git "a/out/production/algorithm-study/week02/pgs42578/\354\235\230\354\203\201_\353\260\225\353\202\230\355\230\204$Solution.class" "b/out/production/algorithm-study/week02/pgs42578/\354\235\230\354\203\201_\353\260\225\353\202\230\355\230\204$Solution.class" new file mode 100644 index 0000000..420925e Binary files /dev/null and "b/out/production/algorithm-study/week02/pgs42578/\354\235\230\354\203\201_\353\260\225\353\202\230\355\230\204$Solution.class" differ diff --git "a/out/production/algorithm-study/week02/pgs42578/\354\235\230\354\203\201_\353\260\225\353\202\230\355\230\204.class" "b/out/production/algorithm-study/week02/pgs42578/\354\235\230\354\203\201_\353\260\225\353\202\230\355\230\204.class" new file mode 100644 index 0000000..055a860 Binary files /dev/null and "b/out/production/algorithm-study/week02/pgs42578/\354\235\230\354\203\201_\353\260\225\353\202\230\355\230\204.class" differ diff --git "a/out/production/algorithm-study/week02/pgs42578/\354\235\230\354\203\201_\354\213\254\353\257\274\354\225\204.class" "b/out/production/algorithm-study/week02/pgs42578/\354\235\230\354\203\201_\354\213\254\353\257\274\354\225\204.class" new file mode 100644 index 0000000..cb98fd2 Binary files /dev/null and "b/out/production/algorithm-study/week02/pgs42578/\354\235\230\354\203\201_\354\213\254\353\257\274\354\225\204.class" differ diff --git "a/out/production/algorithm-study/week02/pgs42578/\354\235\230\354\203\201_\354\235\264\355\225\264\354\235\270.class" "b/out/production/algorithm-study/week02/pgs42578/\354\235\230\354\203\201_\354\235\264\355\225\264\354\235\270.class" new file mode 100644 index 0000000..7cb8a70 Binary files /dev/null and "b/out/production/algorithm-study/week02/pgs42578/\354\235\230\354\203\201_\354\235\264\355\225\264\354\235\270.class" differ diff --git "a/out/production/algorithm-study/week02/pgs42578/\354\235\230\354\203\201_\354\240\225\353\213\244\355\235\254.class" "b/out/production/algorithm-study/week02/pgs42578/\354\235\230\354\203\201_\354\240\225\353\213\244\355\235\254.class" new file mode 100644 index 0000000..4329bea Binary files /dev/null and "b/out/production/algorithm-study/week02/pgs42578/\354\235\230\354\203\201_\354\240\225\353\213\244\355\235\254.class" differ diff --git "a/out/production/algorithm-study/week03/boj10773/\354\240\234\353\241\234_\352\271\200\354\236\254\355\233\210.class" "b/out/production/algorithm-study/week03/boj10773/\354\240\234\353\241\234_\352\271\200\354\236\254\355\233\210.class" new file mode 100644 index 0000000..5337c45 Binary files /dev/null and "b/out/production/algorithm-study/week03/boj10773/\354\240\234\353\241\234_\352\271\200\354\236\254\355\233\210.class" differ diff --git "a/out/production/algorithm-study/week03/boj10773/\354\240\234\353\241\234_\353\260\225\353\202\230\355\230\204.class" "b/out/production/algorithm-study/week03/boj10773/\354\240\234\353\241\234_\353\260\225\353\202\230\355\230\204.class" new file mode 100644 index 0000000..5c065fa Binary files /dev/null and "b/out/production/algorithm-study/week03/boj10773/\354\240\234\353\241\234_\353\260\225\353\202\230\355\230\204.class" differ diff --git "a/out/production/algorithm-study/week03/boj10773/\354\240\234\353\241\234_\354\213\254\353\257\274\354\225\204.class" "b/out/production/algorithm-study/week03/boj10773/\354\240\234\353\241\234_\354\213\254\353\257\274\354\225\204.class" new file mode 100644 index 0000000..5a7b891 Binary files /dev/null and "b/out/production/algorithm-study/week03/boj10773/\354\240\234\353\241\234_\354\213\254\353\257\274\354\225\204.class" differ diff --git "a/out/production/algorithm-study/week03/boj10773/\354\240\234\353\241\234_\354\235\264\355\225\264\354\235\270.class" "b/out/production/algorithm-study/week03/boj10773/\354\240\234\353\241\234_\354\235\264\355\225\264\354\235\270.class" new file mode 100644 index 0000000..c117d7d Binary files /dev/null and "b/out/production/algorithm-study/week03/boj10773/\354\240\234\353\241\234_\354\235\264\355\225\264\354\235\270.class" differ diff --git "a/out/production/algorithm-study/week03/boj10773/\354\240\234\353\241\234_\354\240\225\353\213\244\355\235\254.class" "b/out/production/algorithm-study/week03/boj10773/\354\240\234\353\241\234_\354\240\225\353\213\244\355\235\254.class" new file mode 100644 index 0000000..cf70eba Binary files /dev/null and "b/out/production/algorithm-study/week03/boj10773/\354\240\234\353\241\234_\354\240\225\353\213\244\355\235\254.class" differ diff --git "a/out/production/algorithm-study/week03/boj10828/\354\212\244\355\203\235_\352\271\200\354\236\254\355\233\210.class" "b/out/production/algorithm-study/week03/boj10828/\354\212\244\355\203\235_\352\271\200\354\236\254\355\233\210.class" new file mode 100644 index 0000000..c30998b Binary files /dev/null and "b/out/production/algorithm-study/week03/boj10828/\354\212\244\355\203\235_\352\271\200\354\236\254\355\233\210.class" differ diff --git "a/out/production/algorithm-study/week03/boj10828/\354\212\244\355\203\235_\353\260\225\353\202\230\355\230\204.class" "b/out/production/algorithm-study/week03/boj10828/\354\212\244\355\203\235_\353\260\225\353\202\230\355\230\204.class" new file mode 100644 index 0000000..bdc4029 Binary files /dev/null and "b/out/production/algorithm-study/week03/boj10828/\354\212\244\355\203\235_\353\260\225\353\202\230\355\230\204.class" differ diff --git "a/out/production/algorithm-study/week03/boj10828/\354\212\244\355\203\235_\354\213\254\353\257\274\354\225\204.class" "b/out/production/algorithm-study/week03/boj10828/\354\212\244\355\203\235_\354\213\254\353\257\274\354\225\204.class" new file mode 100644 index 0000000..53ed6bd Binary files /dev/null and "b/out/production/algorithm-study/week03/boj10828/\354\212\244\355\203\235_\354\213\254\353\257\274\354\225\204.class" differ diff --git "a/out/production/algorithm-study/week03/boj10828/\354\212\244\355\203\235_\354\235\264\355\225\264\354\235\270.class" "b/out/production/algorithm-study/week03/boj10828/\354\212\244\355\203\235_\354\235\264\355\225\264\354\235\270.class" new file mode 100644 index 0000000..e672e61 Binary files /dev/null and "b/out/production/algorithm-study/week03/boj10828/\354\212\244\355\203\235_\354\235\264\355\225\264\354\235\270.class" differ diff --git "a/out/production/algorithm-study/week03/boj10828/\354\212\244\355\203\235_\354\240\225\353\213\244\355\235\254.class" "b/out/production/algorithm-study/week03/boj10828/\354\212\244\355\203\235_\354\240\225\353\213\244\355\235\254.class" new file mode 100644 index 0000000..9851380 Binary files /dev/null and "b/out/production/algorithm-study/week03/boj10828/\354\212\244\355\203\235_\354\240\225\353\213\244\355\235\254.class" differ diff --git "a/out/production/algorithm-study/week03/boj9012/\352\264\204\355\230\270_\352\271\200\354\236\254\355\233\210.class" "b/out/production/algorithm-study/week03/boj9012/\352\264\204\355\230\270_\352\271\200\354\236\254\355\233\210.class" new file mode 100644 index 0000000..0f5f361 Binary files /dev/null and "b/out/production/algorithm-study/week03/boj9012/\352\264\204\355\230\270_\352\271\200\354\236\254\355\233\210.class" differ diff --git "a/out/production/algorithm-study/week03/boj9012/\352\264\204\355\230\270_\353\260\225\353\202\230\355\230\204.class" "b/out/production/algorithm-study/week03/boj9012/\352\264\204\355\230\270_\353\260\225\353\202\230\355\230\204.class" new file mode 100644 index 0000000..53302f5 Binary files /dev/null and "b/out/production/algorithm-study/week03/boj9012/\352\264\204\355\230\270_\353\260\225\353\202\230\355\230\204.class" differ diff --git "a/out/production/algorithm-study/week03/boj9012/\352\264\204\355\230\270_\354\213\254\353\257\274\354\225\204.class" "b/out/production/algorithm-study/week03/boj9012/\352\264\204\355\230\270_\354\213\254\353\257\274\354\225\204.class" new file mode 100644 index 0000000..6ff8ccc Binary files /dev/null and "b/out/production/algorithm-study/week03/boj9012/\352\264\204\355\230\270_\354\213\254\353\257\274\354\225\204.class" differ diff --git "a/out/production/algorithm-study/week03/boj9012/\352\264\204\355\230\270_\354\235\264\355\225\264\354\235\270.class" "b/out/production/algorithm-study/week03/boj9012/\352\264\204\355\230\270_\354\235\264\355\225\264\354\235\270.class" new file mode 100644 index 0000000..195ccc3 Binary files /dev/null and "b/out/production/algorithm-study/week03/boj9012/\352\264\204\355\230\270_\354\235\264\355\225\264\354\235\270.class" differ diff --git "a/out/production/algorithm-study/week03/boj9012/\352\264\204\355\230\270_\354\240\225\353\213\244\355\235\254.class" "b/out/production/algorithm-study/week03/boj9012/\352\264\204\355\230\270_\354\240\225\353\213\244\355\235\254.class" new file mode 100644 index 0000000..65925a8 Binary files /dev/null and "b/out/production/algorithm-study/week03/boj9012/\352\264\204\355\230\270_\354\240\225\353\213\244\355\235\254.class" differ diff --git "a/out/production/algorithm-study/week04/boj10845/\355\201\220_\352\271\200\354\236\254\355\233\210.class" "b/out/production/algorithm-study/week04/boj10845/\355\201\220_\352\271\200\354\236\254\355\233\210.class" new file mode 100644 index 0000000..4dcb9ce Binary files /dev/null and "b/out/production/algorithm-study/week04/boj10845/\355\201\220_\352\271\200\354\236\254\355\233\210.class" differ diff --git "a/out/production/algorithm-study/week04/boj10845/\355\201\220_\353\260\225\353\202\230\355\230\204.class" "b/out/production/algorithm-study/week04/boj10845/\355\201\220_\353\260\225\353\202\230\355\230\204.class" new file mode 100644 index 0000000..ff18763 Binary files /dev/null and "b/out/production/algorithm-study/week04/boj10845/\355\201\220_\353\260\225\353\202\230\355\230\204.class" differ diff --git "a/out/production/algorithm-study/week04/boj10845/\355\201\220_\354\235\264\355\225\264\354\235\270.class" "b/out/production/algorithm-study/week04/boj10845/\355\201\220_\354\235\264\355\225\264\354\235\270.class" new file mode 100644 index 0000000..d4b3c8b Binary files /dev/null and "b/out/production/algorithm-study/week04/boj10845/\355\201\220_\354\235\264\355\225\264\354\235\270.class" differ diff --git "a/out/production/algorithm-study/week04/boj10845/\355\201\220_\354\240\225\353\213\244\355\235\254.class" "b/out/production/algorithm-study/week04/boj10845/\355\201\220_\354\240\225\353\213\244\355\235\254.class" new file mode 100644 index 0000000..a0439d7 Binary files /dev/null and "b/out/production/algorithm-study/week04/boj10845/\355\201\220_\354\240\225\353\213\244\355\235\254.class" differ diff --git "a/out/production/algorithm-study/week04/boj11866/\354\232\224\354\204\270\355\221\270\354\212\244\353\254\270\354\240\2340_\354\235\264\355\225\264\354\235\270.class" "b/out/production/algorithm-study/week04/boj11866/\354\232\224\354\204\270\355\221\270\354\212\244\353\254\270\354\240\2340_\354\235\264\355\225\264\354\235\270.class" new file mode 100644 index 0000000..70e06e7 Binary files /dev/null and "b/out/production/algorithm-study/week04/boj11866/\354\232\224\354\204\270\355\221\270\354\212\244\353\254\270\354\240\2340_\354\235\264\355\225\264\354\235\270.class" differ diff --git "a/out/production/algorithm-study/week04/boj11866/\354\232\224\354\204\270\355\221\270\354\212\244\353\254\270\354\240\234_\352\271\200\354\236\254\355\233\210.class" "b/out/production/algorithm-study/week04/boj11866/\354\232\224\354\204\270\355\221\270\354\212\244\353\254\270\354\240\234_\352\271\200\354\236\254\355\233\210.class" new file mode 100644 index 0000000..5dfb329 Binary files /dev/null and "b/out/production/algorithm-study/week04/boj11866/\354\232\224\354\204\270\355\221\270\354\212\244\353\254\270\354\240\234_\352\271\200\354\236\254\355\233\210.class" differ diff --git "a/out/production/algorithm-study/week04/boj11866/\354\232\224\354\204\270\355\221\270\354\212\244\353\254\270\354\240\234_\353\260\225\353\202\230\355\230\204.class" "b/out/production/algorithm-study/week04/boj11866/\354\232\224\354\204\270\355\221\270\354\212\244\353\254\270\354\240\234_\353\260\225\353\202\230\355\230\204.class" new file mode 100644 index 0000000..07ffe64 Binary files /dev/null and "b/out/production/algorithm-study/week04/boj11866/\354\232\224\354\204\270\355\221\270\354\212\244\353\254\270\354\240\234_\353\260\225\353\202\230\355\230\204.class" differ diff --git "a/out/production/algorithm-study/week04/boj11866/\354\232\224\354\204\270\355\221\270\354\212\244\353\254\270\354\240\234_\354\240\225\353\213\244\355\235\254.class" "b/out/production/algorithm-study/week04/boj11866/\354\232\224\354\204\270\355\221\270\354\212\244\353\254\270\354\240\234_\354\240\225\353\213\244\355\235\254.class" new file mode 100644 index 0000000..5e85966 Binary files /dev/null and "b/out/production/algorithm-study/week04/boj11866/\354\232\224\354\204\270\355\221\270\354\212\244\353\254\270\354\240\234_\354\240\225\353\213\244\355\235\254.class" differ diff --git "a/out/production/algorithm-study/week04/boj2161/\354\271\264\353\223\2341_\352\271\200\354\236\254\355\233\210.class" "b/out/production/algorithm-study/week04/boj2161/\354\271\264\353\223\2341_\352\271\200\354\236\254\355\233\210.class" new file mode 100644 index 0000000..265fe6f Binary files /dev/null and "b/out/production/algorithm-study/week04/boj2161/\354\271\264\353\223\2341_\352\271\200\354\236\254\355\233\210.class" differ diff --git "a/out/production/algorithm-study/week04/boj2164/\354\271\264\353\223\2342_\352\271\200\354\236\254\355\233\210.class" "b/out/production/algorithm-study/week04/boj2164/\354\271\264\353\223\2342_\352\271\200\354\236\254\355\233\210.class" new file mode 100644 index 0000000..f780fbb Binary files /dev/null and "b/out/production/algorithm-study/week04/boj2164/\354\271\264\353\223\2342_\352\271\200\354\236\254\355\233\210.class" differ diff --git "a/out/production/algorithm-study/week04/boj2164/\354\271\264\353\223\2342_\354\235\264\355\225\264\354\235\270.class" "b/out/production/algorithm-study/week04/boj2164/\354\271\264\353\223\2342_\354\235\264\355\225\264\354\235\270.class" new file mode 100644 index 0000000..69c5799 Binary files /dev/null and "b/out/production/algorithm-study/week04/boj2164/\354\271\264\353\223\2342_\354\235\264\355\225\264\354\235\270.class" differ diff --git "a/out/production/algorithm-study/week04/boj2164/\354\271\264\353\223\2342_\354\240\225\353\213\244\355\235\254.class" "b/out/production/algorithm-study/week04/boj2164/\354\271\264\353\223\2342_\354\240\225\353\213\244\355\235\254.class" new file mode 100644 index 0000000..a32f56e Binary files /dev/null and "b/out/production/algorithm-study/week04/boj2164/\354\271\264\353\223\2342_\354\240\225\353\213\244\355\235\254.class" differ diff --git "a/out/production/algorithm-study/week04/boj2164/\354\271\264\353\223\234_\353\260\225\353\202\230\355\230\204.class" "b/out/production/algorithm-study/week04/boj2164/\354\271\264\353\223\234_\353\260\225\353\202\230\355\230\204.class" new file mode 100644 index 0000000..13656b7 Binary files /dev/null and "b/out/production/algorithm-study/week04/boj2164/\354\271\264\353\223\234_\353\260\225\353\202\230\355\230\204.class" differ