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
- custom ui
- swift custom ui
- custom navigation bar
- coordinator
- paragraph style
- task cancel
- Tuist
- swift 점선
- task cancellation
- swift concurrency
- domain data
- 타임라인 포맷팅
- swift navigationcontroller
- swift 백준
- BFS
- uikit toast
- identifiable
- button configuration
- custombottomsheet
- claen architecture
- UIKit
- tusit font 추가 방법
- DP
- traits
- swift dashed line
- RxSwift
- rxdatasources
- swift bottomsheet
- SWIFT
- reactorkit
Archives
- Today
- Total
목록2025/03/31 (1)
김경록의 앱 개발 여정

https://www.acmicpc.net/problem/1475import Foundationlet input = readLine()!var arr = Array(repeating: 0, count: 10)for char in input { if let num = Int(String(char)) { arr[num] += 1 }}// 6에 몰아넣음, 홀수여도 올림을 해야해서 + 1arr[6] = (arr[6] + arr[9] + 1) / 2arr[9] = 0print(arr.max()!)
Algorithm
2025. 3. 31. 23:21