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