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
- Reinforcement Learning
- r-cnn
- C++
- YoLO
- MySQL
- AlexNet
- Mask Processing
- DP
- Python
- image processing
- opencv
- dynamic programming
- 그래프 이론
- One-Stage Detector
- LSTM
- 강화학습
- CNN
- canny edge detection
- 딥러닝
- machine learning
- two-stage detector
- 백준
- BFS
- deep learning
- 머신러닝
- MinHeap
- real-time object detection
- dfs
- object detection
- eecs 498
Archives
- Today
- Total
목록수 찾기 (1)
JINWOOJUNG

접근법 Array를 이용한 BST를 만들어서 접근하려고 했지만, 너무 과하고 시간이 문제여서 Binary Search를 유사하게 구현해서 접근하기로 하였다. 정답 import sys import math N = int(input()) inputs = list(map(int,sys.stdin.readline().split(" "))) inputs.sort() M = int(input()) array = list(map(int,sys.stdin.readline().split(" "))) for i in range(0,M): L = 0 R = N-1 flag = False while L inputs[mid]): L = mid if(array[i] > inputs[R]):break else: R = mid-1 ..
백준
2023. 12. 25. 16:04