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
- OpenCV
- reconstruction
- flame
- deep learning
- 알고리즘
- attention
- center loss
- Knowledge Distillation
- Object Tracking
- Deeplearning
- 스택
- 자료구조
- 딥러닝
- 임계처리
- 논문 구현
- Computer Vision
- Object Detection
- point cloud
- cv2
- re-identification
- 프로그래머스
- Python
- NLP
- numpy
- 파이썬
- 큐
- level2
- 3D
- transformer
- Threshold
Archives
- Today
- Total
목록Level 2 (1)
공돌이 공룡의 서재

def solution2(prices: list): answer = [] ##1 price = prices[::-1] time = 0 delay = price.copy() _ = delay.pop() ##2 while len(delay) > 0: time += 1 now = price.pop() later = delay.pop() # print(now, price) # print(later, delay) if now > later: ## 3-1 answer.append(1) else: ## 3-2 flag = False for i in range(1, len(price)): if now > price[-i - 1]: flag = True answer.append(i + 1) break if not fla..
코딩/프로그래머스
2020. 9. 2. 17:27