Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 |
Tags
- DP
- swift bottomsheet
- RxSwift
- identifiable
- swift navigationcontroller
- traits
- BFS
- domain data
- swift custom ui
- SWIFT
- custom navigation bar
- reactorkit
- scene delegate
- swift 점선
- swift concurrency
- swift dashed line
- custom ui
- 타임라인 포맷팅
- custombottomsheet
- Tuist
- coordinator
- UIKit
- swift 백준
- 버튼 피드백
- task cancel
- rxdatasources
- claen architecture
- button configuration
- uikit toast
- task cancellation
Archives
- Today
- Total
목록2025/03/25 (1)
김경록의 앱 개발 여정

https://www.acmicpc.net/problem/1303 풀이 아이디어그래프 탐색문제입니다.적군과 아군의 경우 모두 조사해야합니다.매번 bfs로 탐색하여 결과값의 제곱만큼 += 해주어 결과를 출력합니다.자세한 풀이는 아래와 같습니다. 풀이let nm = readLine()!.split(separator: " ").map { Int($0)! }let (m, n) = (nm[0], nm[1])let dn = [0, 0, -1, 1]let dm = [-1, 1, 0, 0]var graph = [[String]]()var isVisited = Array(repeating: Array(repeating: false, count: m), count: n)var whiteCount = 0var blueCou..
Algorithm
2025. 3. 25. 18:16