본문 바로가기

JINWOOJUNG

검색하기
JINWOOJUNG
프로필사진 Jinu_01

  • 분류 전체보기 (175)
    • 2023 (1)
      • 공모전 (1)
    • 자율주행 (3)
    • 딥러닝 (36)
      • 논문 (18)
      • Michigan EECS 498 (14)
    • 백준 (34)
    • Reinforcement Learning (24)
    • Machine Learning (4)
    • 2024 (34)
      • 공모전 (2)
      • Study (32)
    • Linux&ROS Issue (3)
    • Git (3)
    • 핸즈온머신러닝 (7)
    • Database (10)
    • NLP, LLM, Multi-modal (15)
      • 논문 (1)
    • Robot Foundation Models (1)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2026/02   »
일 월 화 수 목 금 토
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
Tags
  • hm3d
  • Python
  • 딥러닝
  • DP
  • deep learning
  • RL
  • NLP
  • machine learning
  • dfs
  • Reinforcement Learning
  • 머신러닝
  • 그래프 이론
  • CS285
  • BFS
  • r-cnn
  • hm3dsem
  • ubuntu
  • UC Berkeley
  • CNN
  • 백준
  • C++
  • MySQL
  • YoLO
  • opencv
  • AlexNet
  • LSTM
  • dynamic programming
  • image processing
  • 강화학습
  • GIT
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록코테 (1)

JINWOOJUNG

[ 자료구조-1920 ] 수 찾기(python)

접근법 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
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바