diff --git a/alstjr7437/README.md b/alstjr7437/README.md index e22f897..ace1a9b 100644 --- a/alstjr7437/README.md +++ b/alstjr7437/README.md @@ -2,6 +2,7 @@ | 차시 | 날짜 | 문제유형 | 링크 | 풀이 | |:----:|:---------:|:----:|:-----:|:----:| -| 1차시 | 2025.03.26 | BFS | [미로 탐색](https://www.acmicpc.net/problem/2178)|https://github.com/AlgoLeadMe/AlgoLeadMe-14/pull/2 -| 2차시 | 2025.04.08 | Heap | [최대힙](https://www.acmicpc.net/problem/11279)|https://github.com/AlgoLeadMe/AlgoLeadMe-14/pull/7|| --- +| 1차시 | 2025.03.26 | BFS | [미로 탐색](https://www.acmicpc.net/problem/2178)|https://github.com/AlgoLeadMe/AlgoLeadMe-14/pull/2| +| 2차시 | 2025.04.08 | Heap | [최대힙](https://www.acmicpc.net/problem/11279)|https://github.com/AlgoLeadMe/AlgoLeadMe-14/pull/7| +| 3차시 | 2025.04.30 | 투포인터 | [최대힙](https://www.acmicpc.net/problem/7795)|https://github.com/AlgoLeadMe/AlgoLeadMe-14/pull/17| +--- diff --git "a/alstjr7437/\355\210\254\355\217\254\354\235\270\355\204\260/BOJ_7795.swift" "b/alstjr7437/\355\210\254\355\217\254\354\235\270\355\204\260/BOJ_7795.swift" new file mode 100644 index 0000000..c4f2ee1 --- /dev/null +++ "b/alstjr7437/\355\210\254\355\217\254\354\235\270\355\204\260/BOJ_7795.swift" @@ -0,0 +1,20 @@ +let T = Int(readLine()!)! + +for _ in 0.. B[j] { + point = j + 1 + result += 1 + } + } + } + print(result) +}