Skip to content

Commit

Permalink
Merge branch 'main' into 5-H0ngJu
Browse files Browse the repository at this point in the history
  • Loading branch information
H0ngJu authored Mar 25, 2024
2 parents 84612f0 + bc817de commit f24a636
Show file tree
Hide file tree
Showing 14 changed files with 441 additions and 23 deletions.
3 changes: 3 additions & 0 deletions H0ngJu/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
| μ°¨μ‹œ | λ‚ μ§œ | λ¬Έμ œμœ ν˜• | 링크 | 풀이 |
| :---: | :--------: | :------: | :-------------------------------------------------------------------------: | :-------------------------------------------------: |
| 1μ°¨μ‹œ | 2024.03.05 | 큐 | [ν”„λ‘œμ„ΈμŠ€](https://school.programmers.co.kr/learn/courses/30/lessons/42587) | https://github.com/AlgoLeadMe/AlgoLeadMe-1/pull/151 |
| 2μ°¨μ‹œ | 2024.03.07 | 큐 | [닀리λ₯Ό μ§€λ‚˜λŠ” 트럭](https://school.programmers.co.kr/learn/courses/30/lessons/42583) | https://github.com/AlgoLeadMe/AlgoLeadMe-1/pull/153 |
| 3μ°¨μ‹œ | 2024.03.10 | νž™ | [N번째 큰 수](https://www.acmicpc.net/problem/2075) | https://github.com/AlgoLeadMe/AlgoLeadMe-1/pull/156 |
| 4μ°¨μ‹œ | 2024.03.13 | νž™ | [λ¬Έμ œμ§‘](https://www.acmicpc.net/problem/1766) | https://github.com/AlgoLeadMe/AlgoLeadMe-1/pull/158 |
| 5μ°¨μ‹œ | 2024.03.16 | κ΅¬ν˜„ | [μš”μ„Έν‘ΈμŠ€ 문제](https://www.acmicpc.net/problem/1158) | https://github.com/AlgoLeadMe/AlgoLeadMe-1/pull/161 |

---
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
from collections import deque

def solution(bridge_length, weight, truck_weights):
time = 0
onBridge = deque() # ν˜„μž¬ 닀리 μœ„μ— μžˆλŠ” 트럭
truckNum = 0 # ν˜„μž¬ 닀리 μœ„μ— μžˆλŠ” 트럭 수
sum = 0 # ν˜„μž¬ 닀리 μœ„μ— μžˆλŠ” 트럭 무게의 ν•©
truck_weights = deque(truck_weights)

while truck_weights or onBridge:
time += 1

# 트럭이 닀리λ₯Ό μ§€λ‚˜κ°€λŠ” 경우 처리
if onBridge and time - onBridge[0][1] >= bridge_length:
sum -= onBridge.popleft()[0]
truckNum -= 1

# λ‹€μŒ 트럭이 닀리에 올라갈 수 μžˆλŠ” 경우 처리
# 트럭이 있고 합이 weight을 λ„˜μ§€ μ•ŠμœΌλ©°, μˆ˜κ°€ bridge_lengthλ₯Ό λ„˜κΈ°μ§€ μ•ŠλŠ” 경우
if len(truck_weights) != 0 and sum + truck_weights[0] <= weight and truckNum + 1 <= bridge_length:
truck = truck_weights.popleft() # pop
onBridge.append((truck, time)) # 닀리 μœ„μ˜ truck에 tuple μΆ”κ°€
sum += truck # 무게 μΆ”κ°€
truckNum += 1 # κ±΄λ„ˆκ³  μžˆλŠ” 트럭 μΆ”κ°€

return time
19 changes: 19 additions & 0 deletions H0ngJu/νž™/N번째 큰 수.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import sys
import heapq

line = int(sys.stdin.readline().strip())

heap = []
heapq.heapify(heap)

for i in range(line):
data = list(map(int, sys.stdin.readline().strip().split()))
for s in data:
if len(heap) < line:
heapq.heappush(heap, s)
else:
if s > heap[0]:
heapq.heappop(heap)
heapq.heappush(heap, s)

print(heap[0])
32 changes: 32 additions & 0 deletions H0ngJu/νž™/λ¬Έμ œμ§‘.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
import sys
import heapq

n, m = map(int, sys.stdin.readline().rstrip().split())

graph = [[] for _ in range(n+1)]
inDegree = [0 for _ in range(n+1)]
q = []
answer = []

# μž…λ ₯λ°›μ•„μ„œ λ„£κΈ°
for _ in range(m):
p1, p2 = map(int, sys.stdin.readline().rstrip().split())
graph[p1].append(p2) # p1은 p2와 μ—°κ²°λœ 문제
inDegree[p2] += 1 # κ°„μ„  μΆ”κ°€

# μ§„μž…μ°¨μˆ˜κ°€ 0이면 큐에 λ„£κΈ°
for i in range(1, n+1):
if inDegree[i] == 0:
heapq.heappush(q, i)

# answer에 λ„£κ³ , κ°„μ„  제거
while q:
prob = heapq.heappop(q)
answer.append(prob)
for i in graph[prob]: # κ°„μ„  제거 & μ§„μž…μ°¨μˆ˜ 0인 것듀 처리
inDegree[i] -= 1
if inDegree[i] == 0:
heapq.heappush(q, i)

for result in answer:
print(result, end=" ")
1 change: 1 addition & 0 deletions Munbin-Lee/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,5 @@
| 35μ°¨μ‹œ | 2024.02.18 | λ°±νŠΈλž˜ν‚Ή | <a href="https://www.acmicpc.net/problem/24891">단어 λ§ˆλ°©μ§„</a> | https://github.com/AlgoLeadMe/AlgoLeadMe-1/pull/140 |
| 36μ°¨μ‹œ | 2024.02.21 | λ¬Έμžμ—΄ | <a href="https://www.acmicpc.net/problem/15927">νšŒλ¬Έμ€ νšŒλ¬Έμ•„λ‹ˆμ•Ό!!</a> | https://github.com/AlgoLeadMe/AlgoLeadMe-1/pull/143 |
| 37μ°¨μ‹œ | 2024.03.05 | λ°±νŠΈλž˜ν‚Ή | <a href="https://school.programmers.co.kr/learn/courses/30/lessons/250136">μ„μœ  μ‹œμΆ”</a> | https://github.com/AlgoLeadMe/AlgoLeadMe-1/pull/150 |
| 37μ°¨μ‹œ | 2024.03.08 | 트라이 | <a href="https://www.acmicpc.net/problem/5052">μ „ν™”λ²ˆν˜Έ λͺ©λ‘</a> | https://github.com/AlgoLeadMe/AlgoLeadMe-1/pull/155 |
---
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
#include <iostream>
#include <vector>

using namespace std;

struct Trie {
struct Node {
Node *children[10]{};
bool isTerminal = false;
};

Node *root = new Node;

bool insert(string &s) const {
auto cur = root;

for (char ch: s) {
int digit = ch - '0';

if (!cur->children[digit]) {
cur->children[digit] = new Node();
cur = cur->children[digit];
continue;
}

if (cur->children[digit]->isTerminal) {
return false;
}

cur = cur->children[digit];
}

for (auto child: cur->children) {
if (child) {
return false;
}
}

cur->isTerminal = true;

return true;
}
};

int main() {
ios_base::sync_with_stdio(false);
cin.tie(nullptr);

auto solve = []() {
auto trie = new Trie;

int n;
cin >> n;

vector<string> numbers(n);

for (auto &number: numbers) {
cin >> number;
}

for (auto number: numbers) {
if (!trie->insert(number)) {
cout << "NO\n";
delete trie;
return;
}
}

cout << "YES\n";
};

int t;
cin >> t;

while (t--) {
solve();
}

return 0;
}
45 changes: 23 additions & 22 deletions pknujsp/README.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
## ✏️ 기둝

| μ°¨μ‹œ | λ‚ μ§œ | λ¬Έμ œμœ ν˜• | 링크 | 풀이 |
| :----: | :--------: | :-------------: | :-----------------------------------------------------------------------------------------------: | :--------------------------------------------------------: |
| 1μ°¨μ‹œ | 2023.10.07 | BRUTE_FORCE | [BOJ_1107](https://www.acmicpc.net/problem/1107) | [#2](https://github.com/AlgoLeadMe/AlgoLeadMe-1/pull/2) |
| 2μ°¨μ‹œ | 2023.10.09 | BRUTE_FORCE | [연속 λΆ€λΆ„ μˆ˜μ—΄ ν•©μ˜ 개수](https://school.programmers.co.kr/learn/courses/30/lessons/131701) | [#5](https://github.com/AlgoLeadMe/AlgoLeadMe-1/pull/5) |
| 3μ°¨μ‹œ | 2023.10.11 | SORT | [μ΅œμ†Ÿκ°’ λ§Œλ“€κΈ°](https://school.programmers.co.kr/learn/courses/30/lessons/12941?language=python3) | [#8](https://github.com/AlgoLeadMe/AlgoLeadMe-1/pull/8) |
| 4μ°¨μ‹œ | 2023.10.13 | SORT | [νŠœν”Œ](https://school.programmers.co.kr/learn/courses/30/lessons/64065) | [#9](https://github.com/AlgoLeadMe/AlgoLeadMe-1/pull/9) |
| 5μ°¨μ‹œ | 2023.10.15 | κ΅¬ν˜„ | [κ΄„ν˜Έ λ³€ν™˜](https://school.programmers.co.kr/learn/courses/30/lessons/60058) | [#13](https://github.com/AlgoLeadMe/AlgoLeadMe-1/pull/13) |
| 6μ°¨μ‹œ | 2023.10.17 | 탐색 | [μΏΌλ“œμ••μΆ• ν›„ 개수 μ„ΈκΈ°](https://school.programmers.co.kr/learn/courses/30/lessons/68936) | [#16](https://github.com/AlgoLeadMe/AlgoLeadMe-1/pull/16) |
| 7μ°¨μ‹œ | 2023.10.19 | 탐색 | [무인도 μ—¬ν–‰](https://school.programmers.co.kr/learn/courses/30/lessons/154540) | [#20](https://github.com/AlgoLeadMe/AlgoLeadMe-1/pull/20) |
| 8μ°¨μ‹œ | 2023.10.21 | 탐색 | [거리두기 ν™•μΈν•˜κΈ°](https://school.programmers.co.kr/learn/courses/30/lessons/81302) | [#22](https://github.com/AlgoLeadMe/AlgoLeadMe-1/pull/22) |
| 9μ°¨μ‹œ | 2023.10.23 | 맡 | [μŠ€ν‚¬ 트리](https://school.programmers.co.kr/learn/courses/30/lessons/49993) | [#25](https://github.com/AlgoLeadMe/AlgoLeadMe-1/pull/25) |
| 10μ°¨μ‹œ | 2023.10.25 | κ΅¬ν˜„ | [μˆ˜μ‹ μ΅œλŒ€ν™”](https://school.programmers.co.kr/learn/courses/30/lessons/67257) | [#28](https://github.com/AlgoLeadMe/AlgoLeadMe-1/pull/28) |
| 11μ°¨μ‹œ | 2023.10.27 | 리슀트 | [μ˜μ–΄ λλ§μž‡κΈ°](https://school.programmers.co.kr/learn/courses/30/lessons/12981) | [#30](https://github.com/AlgoLeadMe/AlgoLeadMe-1/pull/30) |
| 12μ°¨μ‹œ | 2023.10.30 | 큐 | [μ΄μ€‘μš°μ„ μˆœμœ„ν](https://school.programmers.co.kr/learn/courses/30/lessons/42628) | [#36](https://github.com/AlgoLeadMe/AlgoLeadMe-1/pull/36) |
| 13μ°¨μ‹œ | 2023.11.01 | DP | [λ“±κ΅£κΈΈ](https://school.programmers.co.kr/learn/courses/30/lessons/42898) | [#39](https://github.com/AlgoLeadMe/AlgoLeadMe-1/pull/39) |
| 14μ°¨μ‹œ | 2023.11.03 | 맡 | [μ‹œμ†Œ 짝꿍](https://school.programmers.co.kr/learn/courses/30/lessons/152996) | [#43](https://github.com/AlgoLeadMe/AlgoLeadMe-1/pull/43) |
| 15μ°¨μ‹œ | 2023.11.05 | μˆ˜ν•™ | [μ˜ˆμƒ λŒ€μ§„ν‘œ](https://school.programmers.co.kr/learn/courses/30/lessons/12985) | [#47](https://github.com/AlgoLeadMe/AlgoLeadMe-1/pull/47) |
| 16μ°¨μ‹œ | 2023.11.08 | μˆ˜ν•™ | [숫자 λ³€ν™˜ν•˜κΈ°](https://school.programmers.co.kr/learn/courses/30/lessons/154538) | [#51](https://github.com/AlgoLeadMe/AlgoLeadMe-1/pull/51) |
| 17μ°¨μ‹œ | 2023.11.10 | μŠ€νƒ | [짝지어 μ œκ±°ν•˜κΈ°](https://school.programmers.co.kr/learn/courses/30/lessons/12973) | [#54](https://github.com/AlgoLeadMe/AlgoLeadMe-1/pull/54) |
| 18μ°¨μ‹œ | 2023.11.13 | κ΅¬ν˜„ | [ν‚€νŒ¨λ“œ λˆ„λ₯΄κΈ°](https://school.programmers.co.kr/learn/courses/30/lessons/67256) | [#60](https://github.com/AlgoLeadMe/AlgoLeadMe-1/pull/60) |
| 19μ°¨μ‹œ | 2023.11.17 | κ΅¬ν˜„ | [μ‹€νŒ¨μœ¨](https://school.programmers.co.kr/learn/courses/30/lessons/42889) | [#64](https://github.com/AlgoLeadMe/AlgoLeadMe-1/pull/64) |
| μ°¨μ‹œ | λ‚ μ§œ | λ¬Έμ œμœ ν˜• | 링크 | 풀이 |
| :----: | :--------: | :-------------: | :-----------------------------------------------------------------------------------------------: | :---------------------------------------------------------: |
| 1μ°¨μ‹œ | 2023.10.07 | BRUTE_FORCE | [BOJ_1107](https://www.acmicpc.net/problem/1107) | [#2](https://github.com/AlgoLeadMe/AlgoLeadMe-1/pull/2) |
| 2μ°¨μ‹œ | 2023.10.09 | BRUTE_FORCE | [연속 λΆ€λΆ„ μˆ˜μ—΄ ν•©μ˜ 개수](https://school.programmers.co.kr/learn/courses/30/lessons/131701) | [#5](https://github.com/AlgoLeadMe/AlgoLeadMe-1/pull/5) |
| 3μ°¨μ‹œ | 2023.10.11 | SORT | [μ΅œμ†Ÿκ°’ λ§Œλ“€κΈ°](https://school.programmers.co.kr/learn/courses/30/lessons/12941?language=python3) | [#8](https://github.com/AlgoLeadMe/AlgoLeadMe-1/pull/8) |
| 4μ°¨μ‹œ | 2023.10.13 | SORT | [νŠœν”Œ](https://school.programmers.co.kr/learn/courses/30/lessons/64065) | [#9](https://github.com/AlgoLeadMe/AlgoLeadMe-1/pull/9) |
| 5μ°¨μ‹œ | 2023.10.15 | κ΅¬ν˜„ | [κ΄„ν˜Έ λ³€ν™˜](https://school.programmers.co.kr/learn/courses/30/lessons/60058) | [#13](https://github.com/AlgoLeadMe/AlgoLeadMe-1/pull/13) |
| 6μ°¨μ‹œ | 2023.10.17 | 탐색 | [μΏΌλ“œμ••μΆ• ν›„ 개수 μ„ΈκΈ°](https://school.programmers.co.kr/learn/courses/30/lessons/68936) | [#16](https://github.com/AlgoLeadMe/AlgoLeadMe-1/pull/16) |
| 7μ°¨μ‹œ | 2023.10.19 | 탐색 | [무인도 μ—¬ν–‰](https://school.programmers.co.kr/learn/courses/30/lessons/154540) | [#20](https://github.com/AlgoLeadMe/AlgoLeadMe-1/pull/20) |
| 8μ°¨μ‹œ | 2023.10.21 | 탐색 | [거리두기 ν™•μΈν•˜κΈ°](https://school.programmers.co.kr/learn/courses/30/lessons/81302) | [#22](https://github.com/AlgoLeadMe/AlgoLeadMe-1/pull/22) |
| 9μ°¨μ‹œ | 2023.10.23 | 맡 | [μŠ€ν‚¬ 트리](https://school.programmers.co.kr/learn/courses/30/lessons/49993) | [#25](https://github.com/AlgoLeadMe/AlgoLeadMe-1/pull/25) |
| 10μ°¨μ‹œ | 2023.10.25 | κ΅¬ν˜„ | [μˆ˜μ‹ μ΅œλŒ€ν™”](https://school.programmers.co.kr/learn/courses/30/lessons/67257) | [#28](https://github.com/AlgoLeadMe/AlgoLeadMe-1/pull/28) |
| 11μ°¨μ‹œ | 2023.10.27 | 리슀트 | [μ˜μ–΄ λλ§μž‡κΈ°](https://school.programmers.co.kr/learn/courses/30/lessons/12981) | [#30](https://github.com/AlgoLeadMe/AlgoLeadMe-1/pull/30) |
| 12μ°¨μ‹œ | 2023.10.30 | 큐 | [μ΄μ€‘μš°μ„ μˆœμœ„ν](https://school.programmers.co.kr/learn/courses/30/lessons/42628) | [#36](https://github.com/AlgoLeadMe/AlgoLeadMe-1/pull/36) |
| 13μ°¨μ‹œ | 2023.11.01 | DP | [λ“±κ΅£κΈΈ](https://school.programmers.co.kr/learn/courses/30/lessons/42898) | [#39](https://github.com/AlgoLeadMe/AlgoLeadMe-1/pull/39) |
| 14μ°¨μ‹œ | 2023.11.03 | 맡 | [μ‹œμ†Œ 짝꿍](https://school.programmers.co.kr/learn/courses/30/lessons/152996) | [#43](https://github.com/AlgoLeadMe/AlgoLeadMe-1/pull/43) |
| 15μ°¨μ‹œ | 2023.11.05 | μˆ˜ν•™ | [μ˜ˆμƒ λŒ€μ§„ν‘œ](https://school.programmers.co.kr/learn/courses/30/lessons/12985) | [#47](https://github.com/AlgoLeadMe/AlgoLeadMe-1/pull/47) |
| 16μ°¨μ‹œ | 2023.11.08 | μˆ˜ν•™ | [숫자 λ³€ν™˜ν•˜κΈ°](https://school.programmers.co.kr/learn/courses/30/lessons/154538) | [#51](https://github.com/AlgoLeadMe/AlgoLeadMe-1/pull/51) |
| 17μ°¨μ‹œ | 2023.11.10 | μŠ€νƒ | [짝지어 μ œκ±°ν•˜κΈ°](https://school.programmers.co.kr/learn/courses/30/lessons/12973) | [#54](https://github.com/AlgoLeadMe/AlgoLeadMe-1/pull/54) |
| 18μ°¨μ‹œ | 2023.11.13 | κ΅¬ν˜„ | [ν‚€νŒ¨λ“œ λˆ„λ₯΄κΈ°](https://school.programmers.co.kr/learn/courses/30/lessons/67256) | [#60](https://github.com/AlgoLeadMe/AlgoLeadMe-1/pull/60) |
| 19μ°¨μ‹œ | 2023.11.17 | κ΅¬ν˜„ | [μ‹€νŒ¨μœ¨](https://school.programmers.co.kr/learn/courses/30/lessons/42889) | [#64](https://github.com/AlgoLeadMe/AlgoLeadMe-1/pull/64) |
| 20μ°¨μ‹œ | 2023.11.20 | λ¬Έμžμ—΄ | [μ˜Ήμ•Œμ΄ (2)](https://school.programmers.co.kr/learn/courses/30/lessons/133499) | [#70](https://github.com/AlgoLeadMe/AlgoLeadMe-1/pull/70) |
| 21μ°¨μ‹œ | 2023.11.23 | 맡 | [μ˜μƒ](https://school.programmers.co.kr/learn/courses/30/lessons/42578) | [#73](https://github.com/AlgoLeadMe/AlgoLeadMe-1/pull/73) |
| 22μ°¨μ‹œ | 2023.11.26 | 그리디 | [ꡬλͺ…λ³΄νŠΈ](https://school.programmers.co.kr/learn/courses/30/lessons/42885) | [#79](https://github.com/AlgoLeadMe/AlgoLeadMe-1/pull/79) |
Expand All @@ -37,4 +37,5 @@
| 33μ°¨μ‹œ | 2024.02.06 | 큐 | [철둜](https://www.acmicpc.net/problem/13334) | [#132](https://github.com/AlgoLeadMe/AlgoLeadMe-1/pull/132) |
| 34μ°¨μ‹œ | 2024.02.12 | BFS | [이뢄 κ·Έλž˜ν”„](https://www.acmicpc.net/problem/1707) | [#135](https://github.com/AlgoLeadMe/AlgoLeadMe-1/pull/135) |
| 35μ°¨μ‹œ | 2024.02.18 | 그리디 | [선물할인](https://www.acmicpc.net/problem/25947) | [#137](https://github.com/AlgoLeadMe/AlgoLeadMe-1/pull/137) |
| 36μ°¨μ‹œ | 2024.02.21 | 이진탐색 | [νœ΄κ²Œμ†Œ μ„Έμš°κΈ°](https://www.acmicpc.net/problem/1477) | [#143](https://github.com/AlgoLeadMe/AlgoLeadMe-1/pull/143) |
| 36μ°¨μ‹œ | 2024.02.21 | 이진탐색 | [νœ΄κ²Œμ†Œ μ„Έμš°κΈ°](https://www.acmicpc.net/problem/1477) | [#143](https://github.com/AlgoLeadMe/AlgoLeadMe-1/pull/143) |
| 37μ°¨μ‹œ | 2024.03.04 | κ΅¬ν˜„ | [n+1 μΉ΄λ“œκ²Œμž„](https://school.programmers.co.kr/learn/courses/30/lessons/258707) | [#149](https://github.com/AlgoLeadMe/AlgoLeadMe-1/pull/149) |
53 changes: 53 additions & 0 deletions pknujsp/κ΅¬ν˜„/37-μΉ΄λ“œκ²Œμž„.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
def solution(coin, cards):
a = set(cards[:len(cards) // 3])
b = set()
t = len(cards) + 1
r = 1

for i in range(len(cards) // 3 + 1, len(cards), 2):
c1, c2 = cards[i - 1], cards[i]
b.add(c1)
b.add(c2)

removed = False
# ν˜„μž¬ 가지고 μžˆλŠ” μΉ΄λ“œ λͺ©λ‘ 쀑 n + 1이 κ°€λŠ₯ν•œ 경우 확인
for x in list(a):
if t - x in a:
a.remove(t - x)
a.remove(x)
removed = True
break

if removed:
r += 1
continue

# μ½”μΈμœΌλ‘œ κ΅ν™˜ν•΄μ„œ 얻을 수 μžˆλŠ” μΉ΄λ“œ μ€‘μ—μ„œ n + 1이 λ˜λŠ” 경우λ₯Ό μ°Ύμ•„μ•Ό 함
# 코인이 μ—†μœΌλ―€λ‘œ μ’…λ£Œ
if not coin:
break

# `ν˜„μž¬ κ°–κ³  μžˆλŠ” μΉ΄λ“œ + 얻을 수 μžˆλŠ” μΉ΄λ“œ` = n + 1이 λ˜λŠ” 경우λ₯Ό 확인
for x in list(b):
if t - x in a:
a.remove(t - x)
b.remove(x)
removed = True
coin -= 1
break
# λ§ˆμ§€λ§‰ λ°©λ²•μœΌλ‘œ, 였직 κ΅ν™˜μœΌλ‘œ 얻을 수 μžˆλŠ” μΉ΄λ“œ λͺ©λ‘ μ€‘μ—μ„œ n + 1이 λ˜λŠ” 경우λ₯Ό 확인
if not removed and coin >= 2:
for x in list(b):
if t - x in b:
b.remove(t - x)
b.remove(x)
removed = True
coin -= 2
break

# n + 1을 μ–΄λ–€ κ²½μš°μ—λ„ λͺ» λ§Œλ“€λ©΄ μ’…λ£Œ
if not removed:
break
r += 1

return r
Loading

0 comments on commit f24a636

Please sign in to comment.