백준 알고리즘 1157번 파이썬
small = 'abcdefghijklmnopqrstuvwxyz' big = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' num = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] word = input() for i in range(len(word)): for j in range(len(small)): if word[i] == small[j]: num[j] += 1 if word[i] == big[j]: num[j] += 1 Max = 0 x = 0 for l in range(len(num)): if num[l] > Max: Max = num[l] find = big[l] x = Max count = 0..
알고리즘
2019. 11. 2. 22:07
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- 이분탐색
- main branch
- property wrapper
- Xcode
- 애플 인증
- 프로퍼티 래퍼
- 백준알고리즘
- ios
- readme ignore파일 포함한 repository
- 알고리즘
- palera1n
- 백준 4673 swift
- 파이썬
- 백준
- mvvm in swiftui
- 애플 인증서
- xcuserdata
- New Group
- 장고
- Widget
- sileo
- provisioning key
- SWiFT
- New Group Without Folder
- 클로저
- closure
- 백준 1065번 swift
- django
- xcsharedata
- ios mvvm
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함