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 |
Tags
- c언어 기본
- 자료구조
- 데베시 1주차
- Workbench
- git 오류
- Git
- git오류
- git기초
- 최단거리
- 참고X
- python기본
- 1주차(1)
- 코딩테스트
- 인텔리제이
- 코테
- 4장
- 파이썬 알고리즘 인터뷰
- 백준
- #코린이 #코딩 #할 수 있다
- python자료형
- c언어 제어문
- 5장
- DP
- 그리디
- c언어
- 인스타
- 도커
- python기초
- 운체 1주차
- 스택
Archives
- Today
- Total
목록코딩테스트 (45)
하루살이 개발자
[백준] 자료구조 유형
# boj_17413 단어뒤집기2 - 실버3 import sys word = list(sys.stdin.readline().rstrip()) i = 0 start = 0 while i 영..
코딩테스트
2023. 3. 14. 00:35
[Softeer] Level3 문제풀이 by Python
1. 택배 마스터 광우- 순열(중복고려)이용 import sys from itertools import permutations def sol(li): t = 0 total = 0 for i in range(k): check = 0 while True: check += li[t] t = (t+1) % n if (check+li[t]) > m: break total += check return total n, m, k = map(int, sys.stdin.readline().split()) li = list(map(int, sys.stdin.readline().split())) arr_s = list(permutations(li, n)) # 순열(순서고려) answer = [] for arr in arr_s..
코딩테스트
2023. 2. 4. 03:16